VGPrincipalPermission Methods |
The VGPrincipalPermission type exposes the following members.
Name | Description | |
---|---|---|
Copy | Creates and returns an identical copy of the current permission. | |
Demand | Determines at run time whether the current Visual Guard principal matches the principal specified by the current permission. | |
Equals | Determines whether the specified PrincipalPermission object is equal to the current PrincipalPermission. (Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromXml | Reconstructs a permission with a specified state from an XML encoding. | |
GetHashCode | Gets a hash code for the PrincipalPermission object that is suitable for use in hashing algorithms and data structures such as a hash table. (Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Intersect | Creates and returns a permission that is the intersection of the current permission and the specified permission. | |
IsSubsetOf | Determines whether the current permission is a subset of the specified permission. | |
IsUnrestricted | Returns a value indicating whether the current permission is unrestricted. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToXml | Creates an XML encoding of the permission and its current state. | |
Union | Creates a permission that is the union of the current permission and the specified permission. |