System.Security.SecurityElement.Copy Method

Creates and returns an identical copy of the current System.Security.SecurityElement object.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public SecurityElement Copy ()

Returns

A copy of the current System.Security.SecurityElement object.

Remarks

The copy includes both the SecurityElement.Children and SecurityElement.Attributes properties.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0