共用方式為


CollectionDataContractAttribute.IsKeyNameSetExplicitly 屬性

定義

確認是否已明確設定 KeyName

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

屬性值

true 如果已明確設定金鑰名稱,則為 ;否則為 false

適用於