नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Gets a custom attribute based upon its name. Unlike metadata custom attributes, these custom attributes are held in the symbol store.
Syntax
HRESULT GetSymAttribute (
[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 for the object for which the attribute is requested.
name
[in] A pointer to the variable that indicates the attribute to retrieve.
cBuffer
[in] The size of the buffer array.
pcBuffer
[out] A pointer to the variable that receives the length of the attribute data.
buffer
[out] A pointer to the variable that receives the attribute data.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h