IEnumRunningDocuments::Clone Method (IEnumRunningDocuments^)

 

Creates a copy of this IEnumRunningDocuments object.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Clone(
	[OutAttribute] IEnumRunningDocuments^% ppenum
)

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

C++

From vsshell.idl:

HRESULT IEnumRunningDocuments::Clone(
   [out] IEnumRunningDocuments **ppenum
);

The returned IEnumRunningDocuments object is completely distinct from the object it was cloned from.

Return to top
Show: