Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Gets the value of the custom attribute, given its metadata token.
Syntax
HRESULT GetCustomAttributeProps (
[in] mdCustomAttribute cv,
[out, optional] mdToken *ptkObj,
[out, optional] mdToken *ptkType,
[out, optional] void const **ppBlob,
[out, optional] ULONG *pcbSize
);
Parameters
cv
[in] A metadata token that represents the custom attribute to be retrieved.
ptkObj
[out, optional] A metadata token representing the object that the custom attribute modifies. This value can be any type of metadata token except mdCustomAttribute.
ptkType
[out, optional] An mdMethodDef or mdMemberRef metadata token representing the Type of the returned custom attribute.
ppBlob
[out, optional] A pointer to an array of data that is the value of the custom attribute.
pcbSize
[out, optional] The size in bytes of the data returned in *ppBlob.
Remarks
A custom attribute is stored as an array of data, the format which is understood by the metadata engine.
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib