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 a custom attribute based upon its name. Unlike metadata custom attributes, these attributes are held in the symbol store.
Syntax
HRESULT GetSymAttributePreRemap(
[in] mdToken parent,
[in] WCHAR *name,
[in] ULONG32 cBuffer,
[out] ULONG32 *pcBuffer,
[out, size_is(cBuffer),
length_is(*pcBuffer)] BYTE buffer[]);
Parameters
parent
[in] The metadata token of the parent.
name
[in] A pointer to a WCHAR that contains the name.
cBuffer
[in] A ULONG32 that indicates the size of the buffer array.
pcBuffer
[out] A pointer to a ULONG32 that receives the size of the buffer required to contain the attribute bytes.
buffer
[out] A pointer to the buffer that receives the attribute bytes.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h