IVsUserContextItemCollection._NewEnum(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an enumerator to use for going through the collection.
public:
int _NewEnum([Runtime::InteropServices::Out] System::Object ^ % pEnum);
int _NewEnum([Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pEnum);
public int _NewEnum (out object pEnum);
abstract member _NewEnum : obj -> int
Public Function _NewEnum (ByRef pEnum As Object) As Integer
Parameters
- pEnum
- Object
[out] Pointer to the enumerator interface, IEnumVARIANT.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
The enumerator is an OLE Automation-based enumerator. For more information about such enumerators, see ATL Collections Sample.
COM Signature
From context.idl:
HRESULT IVsUserContextItemCollection::_NewEnum(
[out, retval] IUnknown ** pEnum
);