Share via


IInteropStreamContract.Clone Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Creates and returns a copy of the stream object that represents the COM object.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Contract
Assembly:  Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll)

Syntax

'Declaration
Function Clone As IInteropStreamContract
'Usage
Dim instance As IInteropStreamContract 
Dim returnValue As IInteropStreamContract 

returnValue = instance.Clone()
IInteropStreamContract Clone()
IInteropStreamContract^ Clone()
function Clone() : IInteropStreamContract

Return Value

Type: Microsoft.VisualStudio.Tools.Applications.Contract.IInteropStreamContract
A copy of the stream object that represents the COM object.

Remarks

Calls the IStream.Clone method of the internal copy of the stream object.

See Also

Reference

IInteropStreamContract Interface

IInteropStreamContract Members

Microsoft.VisualStudio.Tools.Applications.Contract Namespace