Gets the number of permission objects contained in the permission set.
[Visual Basic] Overridable Public ReadOnly Property Count As Integer [C#] public int Count {virtual get;} [C++] public: __property virtual int get_Count(); [JScript] public function get Count() : int;
Number of contained permission objects.
In restricted or unrestricted state (as constructed by the PermissionState constructor) this returns zero because no actual permission object instances are used.
PermissionSet Class | PermissionSet Members | System.Security Namespace