次の方法で共有


OperationInfo.HasProtectionLevel プロパティ

定義

操作が定義された ProtectionLevel かどうかの情報を取得します。

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

プロパティ値

Boolean

操作が関連付けられている ProtectionLevel があるかどうかを示すブール値。

次の例は、HasProtectionLevel プロパティのアクセス方法を示しています。

OperationInfo info = new OperationInfo();
bool hasProtectionLevel = info.HasProtectionLevel;
Dim info As New OperationInfo()
Dim hasProtectionLevel = info.HasProtectionLevel

適用対象