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.
Gets the UTF-8 name of the object referenced by the specified metadata token. This method is obsolete.
Syntax
HRESULT GetNameFromToken (
[in] mdToken tk,
[out] MDUTF8CSTR *pszUtf8NamePtr
);
Parameters
tk
[in] The token representing the object to return the name for.
pszUtf8NamePtr
[out] A pointer to the UTF-8 object name in the heap.
Remarks
GetNameFromToken is obsolete. As an alternative, call a method to get the properties of the particular type of token required, such as GetFieldProps for a field or GetMethodProps for a method.
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib
.NET versions: 1.0