MarshalAsAttribute.MarshalCookie Field

Definition

Provides additional information to a custom marshaler.

public: System::String ^ MarshalCookie;
public string MarshalCookie;
public string? MarshalCookie;
val mutable MarshalCookie : string
Public MarshalCookie As String 

Field Value

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.

Applies to