The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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, size_is(, *pcbNativeType)] PCCOR_SIGNATURE *ppvNativeType,
[out] ULONG *pcbNativeType
);
Parameters
- 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.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
IDL |
|
|---|
See also
Show: