Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

IMetaDataImport::GetTypeRefProps Method

Gets the metadata associated with the Type referenced by the specified TypeRef token.

HRESULT GetTypeRefProps (
   [in]  mdTypeRef   tr,
   [out] mdToken     *ptkResolutionScope,
   [out] LPWSTR      szName,
   [in]  ULONG       cchName,
   [out] ULONG       *pchName


[in] The TypeRef token that represents the type to return metadata for.


[out] A pointer to the scope in which the reference is made. This value is an AssemblyRef or ModuleRef token.


[out] A buffer containing the type name.


[in] The requested size in wide characters of szName.


[out] The returned size in wide characters of szName.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 4.6 RC, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

© 2015 Microsoft