GeneratedComInterfaceAttribute.StringMarshalling Property

Definition

Gets or sets a value that specifies how to marshal string arguments to all methods on the interface. If the attributed interface inherits from another interface with GeneratedComInterfaceAttribute, it must have the same values for StringMarshalling and StringMarshallingCustomType.

public:
 property System::Runtime::InteropServices::StringMarshalling StringMarshalling { System::Runtime::InteropServices::StringMarshalling get(); void set(System::Runtime::InteropServices::StringMarshalling value); };
public System.Runtime.InteropServices.StringMarshalling StringMarshalling { get; set; }
member this.StringMarshalling : System.Runtime.InteropServices.StringMarshalling with get, set
Public Property StringMarshalling As StringMarshalling

Property Value

Remarks

If this field is set to a value other than Custom, StringMarshallingCustomType must not be specified.

Applies to