GacInstalled.Copy Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an equivalent copy of the current object.

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

public object Copy()

Return Value

Type: System.Object

An equivalent copy of GacInstalled.

The following code example shows the use of the Copy method. This example is part of a larger example provided for the GacInstalled class.

GacInstalled myGacInstalledCopy = 
    (GacInstalled)myGacInstalled.Copy();
bool result = myGacInstalled.Equals(myGacInstalledCopy);

.NET Framework
Available since 2.0
Return to top
Show: