共用方式為


ITopicCollection::GetEnumerator method

Returns an enumerator that iterates through a collection

Syntax

HRESULT GetEnumerator(
  [out, retval] IEnumVARIANT **pRetVal
);

Parameters

pRetVal [out, retval]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
IDL
Windows.Help.Runtime.idl

See also

ITopicCollection