Share via


GeneratedComInterfaceAttribute.StringMarshalling Propriété

Définition

Obtient ou définit une valeur qui spécifie comment marshaler les arguments de chaîne sur toutes les méthodes de l’interface. Si l’interface attributée hérite d’une autre interface avec GeneratedComInterfaceAttribute, elle doit avoir les mêmes valeurs pour StringMarshalling et 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

Valeur de propriété

Remarques

Si ce champ est défini sur une valeur autre que Custom, StringMarshallingCustomType ne doit pas être spécifié.

S’applique à