IMetaDataImport::GetFieldMarshal Method
Gets a pointer to the native, unmanaged type of the field represented by the specified field metadata token.
Syntax
HRESULT GetFieldMarshal (
[in] mdToken tk,
[out] PCCOR_SIGNATURE *ppvNativeType,
[out] ULONG *pcbNativeType
);
Parameters
tk
[in] The metadata token that represents the field to get interop marshalling information for.
ppvNativeType
[out] A pointer to the metadata signature of the field's native type.
pcbNativeType
[out] The size in bytes of ppvNativeType
.
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.