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

Применяется к