GeneratedComInterfaceAttribute.StringMarshalling 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指定如何將字串參數封接到介面上的所有方法。 若屬性介面繼承自另一個具有 GeneratedComInterfaceAttribute的介面,則必須在 和 StringMarshallingCustomType的值StringMarshalling相同。
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 值,則不得指定。