Mono Class Library: System.Runtime.InteropServices.MarshalAsAttribute Overview | Members

System.Runtime.InteropServices.MarshalAsAttribute.MarshalType Field

A string that identifies the Type of a custom marshaler.

[System.Runtime.InteropServices.ComVisible(true)]
public string MarshalType

Remarks

This field is used only with UnmanagedType.CustomMarshaler and is required.

A custom marshaler is a type that is capable of marshaling calls from a specific managed type to a specific unmanaged type and vice versa.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0