IEnumNetworks::get__NewEnum method (netlistmgr.h)

The get_NewEnum property returns an automation enumerator object that you can use to iterate through the IEnumNetworks collection.

Syntax

HRESULT get__NewEnum(
  [out] IEnumVARIANT **ppEnumVar
);

Parameters

[out] ppEnumVar

Contains the new instance of the implemented interface.

Return value

Returns S_OK if the method succeeds.

Remarks

In Microsoft Visual Basic and Microsoft C#, you do not need to use the corresponding _NewEnum property, because it is automatically used in the implementation of the For Each loop (for each in Visual C#).

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netlistmgr.h

See also

IEnumNetworks