HelpContextAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
HelpContextAttributeクラスのHelpContextAttribute属性を定義します。
public ref class HelpContextAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field, AllowMultiple=false)]
public sealed class HelpContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field, AllowMultiple=false)>]
type HelpContextAttribute = class
inherit Attribute
Public NotInheritable Class HelpContextAttribute
Inherits Attribute
- 継承
-
HelpContextAttribute
- 属性
注釈
属性は、プログラマがさまざまなプログラムエンティティにカスタム情報を付与し、実行時環境で属性情報を取得することを可能にします。 ランタイムでは、 HelpContextAttributeのようなカスタム属性を用いて、このプロパティを使ってアプリケーションのコンテキストに応じたヘルプを表示・表示できます。
HelpContextAttributeはMicrosoft .NETフレームワークの属性クラスから継承します。
コンストラクター
| 名前 | 説明 |
|---|---|
| HelpContextAttribute(String, String, String) |
F1キーワード、コレクション、フィルターパラメータを用いて新しいインスタンス HelpContextAttribute クラスを初期化します。 |
| HelpContextAttribute(String) |
F1キーワードパラメータを用いて HelpContextAttribute クラスの新しいインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| F1Keyword |
検索時に使うキーワードを含む文字列を取得したり設定したりします。 |
| HelpCollection |
Helpコレクションを含む文字列を取得し、そこからHelpを取り出します。 |
| HelpFilter |
ヘルプコレクション内の検索を絞り込むためのフィルターを含む文字列を取得したり設定したりします。 |