KnownTypeAttribute.Type 屬性

定義

取得型別,這個型別在序列化或還原序列化期間應該要由 DataContractSerializer 進行辨識。Gets the type that should be recognized during serialization or deserialization by the 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

屬性值

Type

在序列化或還原序列化期間所使用的 TypeThe Type that is used during serialization or deserialization.

適用於