System::Runtime::InteropServices::Marshal::StringToHGlobalAuto メソッド
Marshal::StringToHGlobalAuto method
指定された文字列の内容をアンマネージド メモリにコピーし、必要に応じて ANSI 形式に変換します。
static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAuto(const String &s)
| パラメーター | 型 | 説明 |
|---|---|---|
| s | const String& | コピーされる文字列。 |
ReturnValue
アンマネージド メモリ内のアドレス。
参照
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Page for C++