MessageContractMemberAttribute.HasProtectionLevel 屬性

定義

在衍生類別中覆寫時,取得指出成員是否已指派保護層級的值。When overridden in a derived class, gets a value that indicates whether the member has a protection level assigned.

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

屬性值

Boolean

如果成員具有保護層級,則為 true,否則為 falsetrue if the member has a protection level; otherwise, false.

適用於