## Marshal::StringToHGlobalAuto method


ينسخ محتويات سلسلة محددة إلى الذاكرة غير المدارة، مع التحويل إلى تنسيق ANSI إذا لزم الأمر.

```cpp
static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAuto(const String &s)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| s | const String\& | سلسلة ليتم نسخها. |

### ReturnValue

العنوان، في الذاكرة غير المدارة.

## انظر أيضًا

* Class [String](../../../system/string/)
* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
