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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.