MarshalAsAttribute.MarshalCookie 字段
定义
向自定义封送处理程序提供附加信息。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
字段值
注解
使用自定义封送拆收器时,此字段是可选的。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. 例如,可以使用相同的封送拆收器来提供多个包装,其中,cookie 用于指示特定包装。For example, the same marshaler can be used to provide a number of wrappers, where the cookie is used to indicate the specific wrapper.