語言

MessageContractMemberAttribute.HasProtectionLevel 屬性

定義

當在派生類別中覆寫時,會獲得一個值,表示該成員是否被指定了保護等級。

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

屬性值

true若成員具備保護等級;否則,。 false

適用於