Switch.Attributes プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Switch.Attributes プロパティの意味・解説 

Switch.Attributes プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

アプリケーション構成ファイル定義されているカスタム スイッチ属性取得します

名前空間: System.Diagnostics
アセンブリ: System (system.dll 内)
構文構文

Dim instance As Switch
Dim value As StringDictionary

value = instance.Attributes
public StringDictionary Attributes { get; }
public:
property StringDictionary^ Attributes {
    StringDictionary^ get ();
}
/** @property */
public StringDictionary get_Attributes ()
public function get Attributes
 () : StringDictionary

プロパティ
トレース スイッチ大文字小文字区別しないカスタム属性格納している StringDictionary。

解説解説
使用例使用例

カスタム スイッチ認識されない属性表示する方法次のコード例示します

' Get the custom attributes for the trace source switch.

For Each de In ts.Switch.Attributes
    Console.WriteLine(de.Key + "  " + de.Value)
// Get the custom attributes for the trace source switch.
foreach (DictionaryEntry de in ts.Switch.Attributes)
    Console.WriteLine(de.Key + "  " + de.Value);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「Switch.Attributes プロパティ」の関連用語

Switch.Attributes プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Switch.Attributes プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS