MarshalAsAttribute.MarshalCookie Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.