SwitchAttribute.GetAll メソッド
アセンブリ: System (system.dll 内)

Dim assembly As Assembly Dim returnValue As SwitchAttribute() returnValue = SwitchAttribute.GetAll(assembly)
戻り値
アセンブリのすべてのスイッチ属性を含む型 SwitchAttribute の配列。


GetAll メソッドを使用して、アセンブリ内で使用されるスイッチを識別するコード例を次に示します。このコード例は、TraceSource クラスのトピックで取り上げているコード例の一部分です。

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


- SwitchAttribute.GetAll メソッドのページへのリンク