KnownTypeAttribute.Type 屬性

定義

取得應在序列化或反序列化 DataContractSerializer時被識別的型別。

public:
 property Type ^ Type { Type ^ get(); };
public Type Type { get; }
public Type? Type { get; }
member this.Type : Type
Public ReadOnly Property Type As Type

屬性值

the the Type 用於序列化或解序列化。

適用於