Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataImport::EnumUserStrings method

Enumerates String tokens representing hard-coded strings in the current metadata scope.

Syntax


HRESULT EnumUserStrings(
  [in, out]                                   HCORENUM *phEnum,
  [out, size_is(cMax), length_is(*pcStrings)] mdString rgStrings[],
  [in]                                        ULONG    cMax,
  [out]                                       ULONG    *pcStrings
);

Parameters

phEnum [in, out]

A pointer to the enumerator. This must be NULL for the first call of this method.

rgStrings [out]

The array used to store the String tokens.

cMax [in]

The maximum size of the rgStrings array.

pcStrings [out]

The number of String tokens returned in rgStrings.

Return value

HRESULTDescription
S_OKEnumUserStrings returned successfully.
S_FALSEThere are no tokens to enumerate. In this case, pcStrings is 0 (zero).

 

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show: