次の方法で共有


HelpContextAttribute クラス

HelpContextAttribute クラスの HelpContextAttribute 属性を定義します。

継承階層

System.Object
  System.Attribute
    Microsoft.SqlServer.Dts.Design.HelpContextAttribute

名前空間:  Microsoft.SqlServer.Dts.Design
アセンブリ:  Microsoft.SqlServer.Dts.Design (Microsoft.SqlServer.Dts.Design.dll)

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Field, AllowMultiple := False)> _
Public NotInheritable Class HelpContextAttribute _
    Inherits Attribute
'使用
Dim instance As HelpContextAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Field, AllowMultiple = false)]
public sealed class HelpContextAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Field, AllowMultiple = false)]
public ref class HelpContextAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Field, AllowMultiple = false)>]
type HelpContextAttribute =  
    class 
        inherit Attribute 
    end
public final class HelpContextAttribute extends Attribute

HelpContextAttribute 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド HelpContextAttribute(String) F1 キーワード パラメーターを使用して、HelpContextAttribute クラスの新しいインスタンスを初期化します。
パブリック メソッド HelpContextAttribute(String, String, String) F1 キーワード、コレクション、フィルターの各パラメーターを使用して、HelpContextAttribute クラスの新しいインスタンスを初期化します。

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ F1Keyword ヘルプの検索に使用するキーワードを表す String を取得または設定します。
パブリック プロパティ HelpCollection ヘルプの取得元となるヘルプ コレクションを表す String を取得または設定します。
パブリック プロパティ HelpFilter ヘルプ コレクションの検索を絞り込むために設定されたフィルターを表す String を取得または設定します。
パブリック プロパティ TypeId (Attribute から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Attribute から継承されています。)
パブリック メソッド GetHashCode (Attribute から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
パブリック メソッド IsDefaultAttribute (Attribute から継承されています。)
パブリック メソッド Match (Attribute から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

明示的なインターフェイスの実装

  名前 説明
明示的なインターフェイスの実装プライベート メソッド _Attribute.GetIDsOfNames (Attribute から継承されています。)
明示的なインターフェイスの実装プライベート メソッド _Attribute.GetTypeInfo (Attribute から継承されています。)
明示的なインターフェイスの実装プライベート メソッド _Attribute.GetTypeInfoCount (Attribute から継承されています。)
明示的なインターフェイスの実装プライベート メソッド _Attribute.Invoke (Attribute から継承されています。)

先頭に戻る

説明

属性によって、プログラマはさまざまなプログラム エンティティにカスタム情報を付加したり、ランタイム環境での属性情報を取得したりできます。 HelpContextAttribute などのカスタム属性では、実行時にこのプロパティを使用して通知を行ったり、アプリケーションの状況に応じたヘルプを表示したりできます。

HelpContextAttribute は、Microsoft .NET Framework の属性クラスを継承します。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Dts.Design 名前空間