System::Runtime::InteropServices::Marshal::PtrToStringAnsi metodo
Marshal::PtrToStringAnsi(IntPtr) method
Crea una String gestita da una stringa UTF8 non gestita terminata con zero.
static String System::Runtime::InteropServices::Marshal::PtrToStringAnsi(IntPtr ptr)
| Parametro | Tipo | Descrizione |
|---|---|---|
| ptr | IntPtr | Puntatore alla stringa non gestita. |
ReturnValue
Una stringa gestita.
Vedi anche
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Font for C++
Marshal::PtrToStringAnsi(IntPtr, int) method
Crea una String gestita da una stringa UTF8 non gestita.
static String System::Runtime::InteropServices::Marshal::PtrToStringAnsi(IntPtr ptr, int length)
| Parametro | Tipo | Descrizione |
|---|---|---|
| ptr | IntPtr | Puntatore alla stringa non gestita. |
| lunghezza | int | Lunghezza della stringa non gestita. |
ReturnValue
Una stringa gestita.
Vedi anche
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Font for C++