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

System.Runtime.InteropServices.MarshalAsAttribute.MarshalCookie Field

A string that is used with UnmanagedType.CustomMarshaler to hold a cookie that is passed to the custom marshaler. The value of the cookie is defined by the custom marshaler implementation.

public string MarshalCookie

Remarks

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

Requirements

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