Méthode System::Runtime::InteropServices::Marshal::PtrToStringUni
Contenu
[
Cacher
]Marshal::PtrToStringUni(IntPtr) method
Crée une String gérée à partir d’une chaîne unicode non gérée terminée par zéro.
static String System::Runtime::InteropServices::Marshal::PtrToStringUni(IntPtr ptr)
| Paramètre | Type | Description |
|---|---|---|
| ptr | IntPtr | Pointeur vers la chaîne non gérée. |
ReturnValue
Une chaîne gérée.
Voir aussi
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Font for C++
Marshal::PtrToStringUni(IntPtr, int) method
Crée une String gérée à partir d’une chaîne unicode non gérée.
static String System::Runtime::InteropServices::Marshal::PtrToStringUni(IntPtr ptr, int length)
| Paramètre | Type | Description |
|---|---|---|
| ptr | IntPtr | Pointeur vers la chaîne non gérée. |
| longueur | int | Longueur de la chaîne non gérée. |
ReturnValue
Une chaîne gérée.
Voir aussi
- Class String
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Font for C++