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