In The Hand LtdIn The Hand
StringToHGlobalAnsi Method (s)
NamespacesInTheHand.Runtime.InteropServicesMarshalHelperStringToHGlobalAnsi(String)
.NET Components for Mobility
Copies the contents of a managed String into unmanaged memory, converting into ANSI format as it copies.
Declaration Syntax
C#Visual Basic
public static IntPtr StringToHGlobalAnsi(
	string s
)
Public Shared Function StringToHGlobalAnsi ( _
	s As String _
) As IntPtr
Parameters
s (String)
A managed string to be copied.
Return Value
The address, in unmanaged memory, to where s was copied, or 0 if a null string was supplied.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0