次の方法で共有


HelpContextAttribute クラス

定義

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 などのカスタム属性では、実行時にこのプロパティを使用して通知を行ったり、アプリケーションの状況に応じたヘルプを表示したりできます。

Microsoft HelpContextAttribute .NET Frameworkの属性クラスから継承されます。

コンストラクター

HelpContextAttribute(String)

F1 キーワード パラメーターを使用して、HelpContextAttribute クラスの新しいインスタンスを初期化します。

HelpContextAttribute(String, String, String)

F1 キーワード、コレクション、フィルターの各パラメーターを使用して、HelpContextAttribute クラスの新しいインスタンスを初期化します。

プロパティ

F1Keyword

ヘルプの検索に使用するキーワードを含む文字列を取得または設定します。

HelpCollection

ヘルプの取得元となるヘルプ コレクションを含む文字列を取得または設定します。

HelpFilter

ヘルプ コレクション内の検索を絞り込むフィルターを含む文字列を取得または設定します。

適用対象