Export (0) Print
Expand All

IMetaDataEmit::SetFieldMarshal Method

Sets the PInvoke marshaling information for the field, method return, or method parameter referenced by the specified token.

HRESULT SetFieldMarshal (
    [in]  mdToken          tk, 
    [in]  PCCOR_SIGNATURE  pvNativeType, 
    [in]  ULONG            cbNativeType 


[in] The token for target data item. This is either a mdFieldDef or a mdParamDef token.


[in] The signature for unmanaged type.


[in] The count of bytes in pvNativeType.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used 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

© 2015 Microsoft