## Marshal::StringToHGlobalAuto method


필요한 경우 ANSI 형식으로 변환하면서 지정된 문자열의 내용을 비관리 메모리로 복사합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| s | const String\& | 복사할 문자열. |

### ReturnValue

관리되지 않는 메모리의 주소.

## 또 보기

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