PermissionSet.IsEmpty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the PermissionSet is empty.
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
Returns
true
if the PermissionSet is empty; otherwise, false
.
Remarks
A PermissionSet can be empty and yet contain instances of permissions if those permissions are in the fully-restricted state. Permissions are in a fully restricted state if their IsSubsetOf
methods return true
when null
is passed as a parameter.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.