StructLayoutAttribute.CharSet フィールド
アセンブリ: mscorlib (mscorlib.dll 内)


CharSet フィールドを CharSet.Unicode に設定した場合、すべての文字列引数はアンマネージ実装に渡す前に Unicode 文字 (LPWSTR) に変換されます。このフィールドを CharSet.Ansi に設定した場合、文字列は ANSI 文字列 (LPSTR) に変換されます。CharSet フィールドを CharSet.Auto に設定した場合、変換はプラットフォームよって異なります (Windows NT、Windows 2000、Windows XP、および Windows Server 2003 ファミリでは Unicode、Windows 98 と Windows Me では ANSI)。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からStructLayoutAttribute.CharSet フィールドを検索する場合は、下記のリンクをクリックしてください。

- StructLayoutAttribute.CharSet フィールドのページへのリンク