Returns a System.Security.PermissionSet object that is the union of the current instance and the specified object.
- other
- A System.Security.PermissionSet instance to be combined with the current instance.
A new System.Security.PermissionSet instance that represents the union of the current instance and other. If the current instance or other is unrestricted, returns a System.Security.PermissionSet instance that is unrestricted.
The result of a call to PermissionSet.Union(PermissionSet) is a new System.Security.PermissionSet instance that represents all the operations represented by the current instance as well as all the operations represented by other . If either set is unrestricted, the union is unrestricted, as well.
Operation
As described above.Usage
Use this method to create a System.Security.PermissionSet instance that contains all of the permissions of the current instance and other .
Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0