IAzScopes::get__NewEnum method (azroles.h)

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
);

Parameters

ppEnumPtr

Return value

None

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header azroles.h
Library Azroles.lib
DLL Azroles.dll
Redistributable Windows Server 2003 Administration Tools Pack on Windows XP