GacInstalled.Copy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an equivalent copy of the current object.
public:
System::Object ^ Copy();
public object Copy ();
member this.Copy : unit -> obj
Public Function Copy () As Object
Returns
An equivalent copy of GacInstalled.
Examples
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 =
dynamic_cast<GacInstalled^>(myGacInstalled->Copy());
bool result = myGacInstalled->Equals( myGacInstalledCopy );
GacInstalled myGacInstalledCopy =
(GacInstalled)myGacInstalled.Copy();
bool result = myGacInstalled.Equals(myGacInstalledCopy);
Dim myGacInstalledCopy As GacInstalled = _
CType(myGacInstalled.Copy(), GacInstalled)
Dim result As Boolean = myGacInstalled.Equals(myGacInstalledCopy)
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.