Windows Dev Center

IAzTasks::_NewEnum property

The _NewEnum property retrieves an IEnumVARIANT interface on an object that can be used to enumerate the collection. This property is hidden within Visual Basic and Visual Basic Scripting Edition (VBScript).

This property is read-only.

Syntax


HRESULT get__NewEnum(
   LPUNKNOWN *ppEnumPtr
);

Property value

An IEnumVARIANT interface on an object that can be used to enumerate the collection.

Error codes

If the property access method get__NewEnum succeeds, it returns S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

This property is provided for use by the For Each keyword in Visual Basic and the foreach keyword in Visual C#.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Server 2003 Administration Tools Pack on Windows XP

Header

Azroles.h

Library

Azroles.lib

DLL

Azroles.dll

IID

IID_IAzTasks is defined as b338ccab-4c85-4388-8c0a-c58592bad398

 

 

Community Additions

ADD
Show:
© 2015 Microsoft