ComponentOne Bitmap for WPF
StringToHGlobalAnsi Method

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > DXUtil Class : StringToHGlobalAnsi Method
A managed string to be copied.
Copies the contents of a managed String into unmanaged memory, converting into ANSI format as it copies.
Syntax
'Declaration
 
Public Shared Function StringToHGlobalAnsi( _
   ByVal s As System.String _
) As System.IntPtr
public static System.IntPtr StringToHGlobalAnsi( 
   System.string s
)

Parameters

s
A managed string to be copied.

Return Value

The address, in unmanaged memory, to where s was copied, or IntPtr.Zero if s is null.
See Also

Reference

DXUtil Class
DXUtil Members