System::Runtime::InteropServices::Marshal::PtrToStringAuto メソッド
Marshal::PtrToStringAuto(IntPtr) method
アンマネージドのゼロ終端文字列から管理対象の String を作成します。
static String System::Runtime::InteropServices::Marshal::PtrToStringAuto(IntPtr ptr)
| パラメーター | 型 | 説明 |
|---|---|---|
| ptr | IntPtr | アンマネージド文字列へのポインタ。 |
ReturnValue
管理対象の文字列です。
参照
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Page for C++
Marshal::PtrToStringAuto(IntPtr, int) method
アンマネージド文字列から管理対象の String を作成します。
static String System::Runtime::InteropServices::Marshal::PtrToStringAuto(IntPtr ptr, int length)
| パラメーター | 型 | 説明 |
|---|---|---|
| ptr | IntPtr | アンマネージド文字列へのポインタ。 |
| length | int | アンマネージド文字列の長さ。 |
ReturnValue
管理対象の文字列です。
参照
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Page for C++