EvidenceBase.Clone Method ()

.NET Framework (current version)
 

Creates a new object that is a complete copy of the current instance.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

[SecurityPermissionAttribute(SecurityAction.Assert, SerializationFormatter = true)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Unrestricted = true)]
public virtual EvidenceBase Clone()

Return Value

Type: System.Security.Policy.EvidenceBase

A duplicate copy of this evidence object.

The duplicate copy is a complete copy that includes all the evidence objects in the collection.

.NET Framework
Available since 4.0
Return to top
Show: