Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a copy of this IEnumRunningDocuments object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function Clone ( _
<OutAttribute> ByRef ppenum As IEnumRunningDocuments _
) As Integer
int Clone(
out IEnumRunningDocuments ppenum
)
int Clone(
[OutAttribute] IEnumRunningDocuments^% ppenum
)
abstract Clone :
ppenum:IEnumRunningDocuments byref -> int
function Clone(
ppenum : IEnumRunningDocuments
) : int
Parameters
ppenum
Type: Microsoft.VisualStudio.Shell.Interop.IEnumRunningDocuments%[out] Returns a new IEnumRunningDocuments object.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
C++
From vsshell.idl:
HRESULT IEnumRunningDocuments::Clone(
[out] IEnumRunningDocuments **ppenum
);
The returned IEnumRunningDocuments object is completely distinct from the object it was cloned from.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.