طريقة System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi

Marshal::StringToHGlobalAnsi method

ينسخ محتويات سلسلة محددة إلى الذاكرة غير المُدارة.

static IntPtr System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(const String &s)
معاملنوعالوصف
sconst String&سلسلة ليتم نسخها.

ReturnValue

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

انظر أيضًا