System::Runtime::InteropServices::Marshal::StringToHGlobalAuto 메서드

Marshal::StringToHGlobalAuto method

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

static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAuto(const String &s)
매개변수형식설명
sconst String&복사할 문자열.

ReturnValue

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

또 보기