طريقة System::Runtime::InteropServices::Marshal::PtrToStringAnsi
Marshal::PtrToStringAnsi(IntPtr) method
يُنشئ String مُدارًا من سلسلة UTF8 غير مُدارة منتهية بصفر.
static String System::Runtime::InteropServices::Marshal::PtrToStringAnsi(IntPtr ptr)
| معامل | نوع | الوصف |
|---|---|---|
| ptr | IntPtr | مؤشر إلى السلسلة غير المُدارة. |
ReturnValue
سلسلة مُدارة.
انظر أيضًا
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Font for C++
Marshal::PtrToStringAnsi(IntPtr, int) method
يُنشئ String مُدارًا من سلسلة UTF8 غير مُدارة.
static String System::Runtime::InteropServices::Marshal::PtrToStringAnsi(IntPtr ptr, int length)
| معامل | نوع | الوصف |
|---|---|---|
| ptr | IntPtr | مؤشر إلى السلسلة غير المُدارة. |
| الطول | int | طول السلسلة غير المُدارة. |
ReturnValue
سلسلة مُدارة.
انظر أيضًا
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Font for C++