IVsUserContextItemCollection::_NewEnum Method (Object^)

 

Returns an enumerator to use for going through the collection.

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

int _NewEnum(
	[OutAttribute] Object^% pEnum
)

Parameters

pEnum
Type: System::Object^

[out] Pointer to the enumerator interface, IEnumVARIANT.

Return Value

Type: System::Int32

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

The enumerator is an OLE Automation-based enumerator. For more information about such enumerators, see .ea9109d0-a62b-46c8-ae67-e7ba7a4f4e92

From context.idl:

HRESULT IVsUserContextItemCollection::_NewEnum(

   [out, retval] IUnknown ** pEnum

);

Return to top
Show: