## Marshal::StringToHGlobalAuto method


Copia il contenuto di una stringa specificata nella memoria non gestita, convertendo nel formato ANSI se necessario.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| s | const String\& | Una stringa da copiare. |

### ReturnValue

L'indirizzo, nella memoria non gestita.

## Vedi anche

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