IEnumComReferences.Clone Method
Clones this IEnumComReferences interface by creating another instance.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function Clone ( _
<OutAttribute> ByRef ppenum As IEnumComReferences _
) As Integer
int Clone(
out IEnumComReferences ppenum
)
int Clone(
[OutAttribute] IEnumComReferences^% ppenum
)
abstract Clone :
ppenum:IEnumComReferences byref -> int
function Clone(
ppenum : IEnumComReferences
) : int
Parameters
ppenum
Type: Microsoft.VisualStudio.Shell.Interop.IEnumComReferences%[out] Reference to the cloned IEnumComReferences interface.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
[C++]
HRESULT IEnumComReferences::Clone(
[out] IEnumComReferences **ppenum
);
.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.