Partager via


AddPublisherAssertions.System.ICloneable.Clone Method

Note: The Microsoft UDDI SDK is not supported by or included in Microsoft Windows versions after Microsoft Windows Server 7. The Microsoft UDDI V3 SDK is included with Microsoft BizTalk Server. For more information about the Microsoft UDDI V3 SDK, see Microsoft BizTalk Server documentation
Creates a new object that is a copy of the current instance.

Namespace: Microsoft.Uddi
Assembly: microsoft.uddi (in microsoft.uddi.dll)

Usage

Visual Basic
  Dim instance As AddPublisherAssertions
Dim returnValue As Object
returnValue = CType(instance, ICloneable).Clone

Syntax

'Declaration
PrivateFunctionSystem.ICloneable.CloneAsObject Implements ICloneable.Clone
ObjectICloneable.Clone ()
private:
virtualObject^ System.ICloneable.Clone () sealed = ICloneable::Clone

Return Value

A new object that is a copy of this instance.

Remarks

Clone can be implemented either as a deep copy or a shallow copy. In a deep copy, all objects are duplicated; whereas, in a shallow copy, only the top-level objects are duplicated and the lower levels contain references.

The resulting clone must be of the same type as or a compatible type to the original instance.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP

See Also

Reference

AddPublisherAssertions Class
AddPublisherAssertions Members
Microsoft.Uddi Namespace
Clone