Share via


GeneratedComInterfaceAttribute.StringMarshalling 属性

定义

获取或设置一个值,该值指定如何将字符串参数封送给接口上的所有方法。 如果特性化接口继承自具有 GeneratedComInterfaceAttribute的另一个接口,则它必须具有相同的 StringMarshallingStringMarshallingCustomType值。

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

属性值

注解

如果此字段设置为 以外的 Custom值, StringMarshallingCustomType 则不得指定 。

适用于