Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Enumerates String tokens representing hard-coded strings in the current metadata scope.
Syntax
HRESULT EnumUserStrings(
[in, out] HCORENUM *phEnum,
[out] mdString [] rgStrings,
[in] ULONG cMax,
[out] ULONG *pcStrings
);
Parameters
[in, out] phEnum
A pointer to the enumerator. This must be NULL for the first call of this method.
[out] rgStrings
The array used to store the String tokens.
[in] cMax
The maximum size of the rgStrings array.
[out] pcStrings
The number of String tokens returned in rgStrings.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumUserStrings returned successfully. |
| S_FALSE | There are no tokens to enumerate. In this case, pcStrings is 0 (zero). |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |