PermissionSet.IsEmpty 方法

定義

取得值,指出 PermissionSet 是否為空的。

public:
 bool IsEmpty();
public:
 virtual bool IsEmpty();
public bool IsEmpty ();
public virtual bool IsEmpty ();
member this.IsEmpty : unit -> bool
abstract member IsEmpty : unit -> bool
override this.IsEmpty : unit -> bool
Public Function IsEmpty () As Boolean
Public Overridable Function IsEmpty () As Boolean

傳回

Boolean

如果 true 是空的,則為 PermissionSet,否則為 false

備註

PermissionSet如果這些許可權處於完全限制的狀態,則 可以是空的,但包含許可權的實例。 如果當做 true 參數傳遞時 nullIsSubsetOf 許可權會處於完全受限的狀態。

適用於