TraceSource.Attributes プロパティ
アセンブリ: System (system.dll 内)

Public ReadOnly Property Attributes As StringDictionary
public StringDictionary Attributes { get; }
トレース スイッチのカスタム属性を格納している StringDictionary。

Attributes プロパティは、アプリケーションの構成ファイルで参照されるカスタム属性を識別します。参照されないカスタム属性は列挙されません。TraceSource クラスから継承されたクラスがカスタム属性を追加するには、Switch.GetSupportedAttributes メソッドをオーバーライドしてカスタム属性名の文字列配列を返します。

TraceSource のカスタム属性を表示する方法を次のコード例に示します。このコード例は、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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からTraceSource.Attributes プロパティを検索する場合は、下記のリンクをクリックしてください。

- TraceSource.Attributes プロパティのページへのリンク