Share via


IMetaDataImport::GetFieldMarshal Method

Gets a pointer to the native, unmanaged type of the field represented by the specified field metadata token.

HRESULT GetFieldMarshal (
    mdToken             tk, 
    PCCOR_SIGNATURE     *ppvNativeType,
    ULONG               *pcbNativeType 
);

Parameters

Parameter Description

tk

[in] The metadata token that represents the field to get interop marshaling 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataImport Interface
IMetaDataImport2 Interface