TaskItem.Description プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コンストラクターで設定されている説明を TaskList() 取得します。
public:
property System::String ^ Description { System::String ^ get(); };
public string Description { get; }
member this.Description : string
Public ReadOnly Property Description As String
プロパティ値
説明です。
例
次の例では、説明を含むすべての MessageTaskItem タスクのタスク 項目の一覧を検索します。 次に、トレース リスナーに説明文字列を書き込みます。
foreach (TaskItem item in items) {
if ((item is MethodTaskItem) && item.Category == sPerformance)
Trace.WriteLine(item.Description + " Category: " + item.Category);
}