Export (0) Print
Expand All
Expand Minimize

IMetaDataImport::GetUserString Method

Gets the literal string represented by the specified metadata token.

HRESULT GetUserString (
   [in]   mdString    stk,
   [out]  LPWSTR      szString,
   [in]   ULONG       cchString,
   [out]  ULONG       *pchString
);

stk

[in] The String token to return the associated string for.

szString

[out] A copy of the requested string.

cchString

[in] The maximum size in wide characters of the requested szString.

pchString

[out] The size in wide characters of the returned szString.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 4.6 Preview, 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

Show:
© 2015 Microsoft