语言

MessageContractMemberAttribute.HasProtectionLevel 属性

定义

在派生类中重写时,获取一个值,该值指示成员是否分配了保护级别。

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

属性值

true 如果成员具有保护级别,则为否则,为 false.

适用于