System.Security.NamedPermissionSet.Copy C# (CSharp) Method

Copy() public method

public Copy ( ) : System.Security.PermissionSet
return System.Security.PermissionSet
    public override System.Security.PermissionSet Copy() { throw null; }
    public System.Security.NamedPermissionSet Copy(string name) { throw null; }

Same methods

NamedPermissionSet::Copy ( string name ) : NamedPermissionSet
NamedPermissionSet::Copy ( ) : PermissionSet
NamedPermissionSet::Copy ( string name ) : System.Security.NamedPermissionSet

Usage Example

コード例 #1
0
        //
        // Utility methods to construct the permission set objects from the well known XML and any permission
        // set extensions if necessary
        //

        private static NamedPermissionSet GetOrDeserializeExtendablePermissionSet(
            ref NamedPermissionSet permissionSet,
            string permissionSetXml)
        {
            Contract.Requires(!String.IsNullOrEmpty(permissionSetXml));
            return(permissionSet.Copy() as NamedPermissionSet);
        }
All Usage Examples Of System.Security.NamedPermissionSet::Copy