DataContractAttribute.IsNameSetExplicitly 屬性

定義

取得是否已明確設定 NameGets whether Name has been explicitly set.

public:
 property bool IsNameSetExplicitly { bool get(); };
public bool IsNameSetExplicitly { get; }
member this.IsNameSetExplicitly : bool
Public ReadOnly Property IsNameSetExplicitly As Boolean

屬性值

true如果已明確設定名稱,則為,否則為falsetrue if the name has been explicitly set; otherwise, false.

適用於