System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi methode

Marshal::StringToHGlobalAnsi method

Kopieert de inhoud van een opgegeven string naar niet-beheerd geheugen.

static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(const String &s)
ParameterTypeBeschrijving
sconst String&Een string die gekopieerd moet worden.

ReturnValue

Het adres, in niet-beheerd geheugen.

Zie ook