méthode System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi

Marshal::StringToHGlobalAnsi method

Copie le contenu d’une chaîne spécifiée dans la mémoire non gérée.

static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(const String &s)
ParamètreTypeDescription
sconst String&Une chaîne à copier.

ReturnValue

L’adresse, dans la mémoire non gérée.

Voir aussi