System::Runtime::InteropServices::Marshal::StringToHGlobalAuto metod
Marshal::StringToHGlobalAuto method
Kopierar innehållet i en angiven sträng till ohanterat minne och konverterar till ANSI-format om det krävs.
static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAuto(const String &s)
| Parameter | Type | Beskrivning |
|---|---|---|
| s | const String& | En sträng att kopiera. |
ReturnValue
Adressen, i ohanterat minne.
Se även
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Page for C++