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.

C#
public System.Runtime.InteropServices.StringMarshalling StringMarshalling { get; set; }

Property Value

Remarks

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

Applies to

Proizvod Verzije
.NET 8, 9, 10