共用方式為


IStringList::get__NewEnum

The IStringList::get__NewEnum method retrieves an enumerator interface which can be used to iterate through the items in the string list.

HRESULT get__NewEnum(
      IUnknown** ppEnumReturn
);

Parameters

  • ppEnumReturn
    [retval] [out] Points to an IUnknown interface pointer that receives the enumerator.

Remarks

The Form, QueryString, and ServerVariables collections return parameter values as an array. You can use this method to retrieve an enumerator to iterate through one of the string list collections.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also