System::Runtime::InteropServices::Marshal::StringToHGlobalAuto μέθοδος
Marshal::StringToHGlobalAuto method
Αντιγράφει τα περιεχόμενα μιας καθορισμένης συμβολοσειράς σε μη διαχειριζόμενη μνήμη, μετατρέποντας σε μορφή ANSI εάν απαιτείται.
static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAuto(const String &s)
| Parameter | Type | Περιγραφή |
|---|---|---|
| s | const String& | Μια συμβολοσειρά προς αντιγραφή. |
ReturnValue
Η διεύθυνση, σε μη διαχειριζόμενη μνήμη.
Δείτε επίσης
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Page for C++