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