Export (0) Print
Expand All

MarshalAsAttribute.MarshalCookie Field

Provides additional information to a custom marshaler.

[Visual Basic]
Public MarshalCookie As String
[C#]
public string MarshalCookie;
[C++]
public: String* MarshalCookie;
[JScript]
public var MarshalCookie : String;

Remarks

This field is optional when using a custom marshaler.

You can set this field to a string that supplies additional information to a custom marshaler. For example, the same marshaler can be used to provide a number of wrappers, where the cookie is used to indicate the specific wrapper.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

MarshalAsAttribute Class | MarshalAsAttribute Members | System.Runtime.InteropServices Namespace

Show:
© 2014 Microsoft