NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DllImportAttribute.CharSet

Indicates how string arguments to the method should be marshaled. This field is set to one of the CharSet values. If the CharSet field is set to Unicode, all string arguments are converted to Unicode characters before being passed to the unmanaged implementation. If the field is set to Ansi, the strings are converted to ANSI strings first. If the CharSet is set to Auto, the conversion is platform dependent (Unicode on WinNT and ANSI on Win 9x). Auto is only supported through PInvoke.

[Visual Basic]
Public CharSet As CharSet
[C#]
public CharSet CharSet;
[C++]
public: CharSet CharSet;
[JScript]
public var CharSet : CharSet;

See Also

DllImportAttribute Class | DllImportAttribute Members | System.Runtime.InteropServices Namespace | CharSet