metodo System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi

Marshal::StringToHGlobalAnsi method

Copia il contenuto di una stringa specificata nella memoria non gestita.

static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(const String &s)
ParametroTipoDescrizione
sconst String&Una stringa da copiare.

ReturnValue

L’indirizzo, nella memoria non gestita.

Vedi anche