Méthode System::Runtime::InteropServices::Marshal::StringToHGlobalAuto
Marshal::StringToHGlobalAuto method
Copie le contenu d’une chaîne spécifiée dans la mémoire non gérée, en le convertissant au format ANSI si nécessaire.
static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAuto(const String &s)
| Paramètre | Type | Description |
|---|---|---|
| s | const String& | Une chaîne à copier. |
ReturnValue
L’adresse, dans la mémoire non gérée.
Voir aussi
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Font for C++