Share via


GeneratedComInterfaceAttribute.StringMarshallingCustomType 属性

定义

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

public:
 property Type ^ StringMarshallingCustomType { Type ^ get(); void set(Type ^ value); };
public Type? StringMarshallingCustomType { get; set; }
member this.StringMarshallingCustomType : Type with get, set
Public Property StringMarshallingCustomType As Type

属性值

注解

如果指定了此字段, StringMarshalling 则不得指定或必须设置为 Custom

适用于