Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the metadata associated with the generic parameter represented by the specified token.
Syntax
HRESULT GetGenericParamProps(
[in] mdGenericParam gp,
[out] ULONG *pulParamSeq,
[out] DWORD *pdwParamFlags,
[out] mdToken *ptOwner,
[out] DWORD *reserved,
[out] LPWSTR wzname,
[in] ULONG cchName,
[out] ULONG *pchName
);
Parameters
[in] gp
The token that represents the generic parameter for which to return metadata.
[out] pulParamSeq
The ordinal position of the Type parameter in the parent constructor or method.
[out] pdwParamFlags
A value of the CorGenericParamAttr enumeration that describes the Type for the generic parameter.
[out] ptOwner
A TypeDef or MethodDef token that represents the owner of the parameter.
[out] reserved
Reserved for future extensibility.
[out] wzname
The name of the generic parameter.
[in] cchName
The size of the wzName buffer.
[out] pchName
The returned size of the name, in wide characters.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |