HelpContextAttribute 類別

Defines a HelpContextAttribute attribute for the HelpContextAttribute class.

繼承階層

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) Initializes a new instance of the HelpContextAttribute class by using an F1 keyword parameter.
公用方法 HelpContextAttribute(String, String, String) Initializes a new instance of the HelpContextAttribute class by using the F1 keyword, collection, and filter parameters.

上層

屬性

  名稱 說明
公用屬性 F1Keyword Gets or sets a String containing the keyword to be used in looking up Help.
公用屬性 HelpCollection Gets or sets a String containing the Help collection from which to retrieve the Help.
公用屬性 HelpFilter Gets or sets a String containing any filters that are in place to narrow down the search in the Help collection.
公用屬性 TypeId (繼承自 Attribute。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Attribute。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Attribute。)
公用方法 GetType (繼承自 Object。)
公用方法 IsDefaultAttribute (繼承自 Attribute。)
公用方法 Match (繼承自 Attribute。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 _Attribute. . :: . .GetIDsOfNames (繼承自 Attribute。)
明確介面實作私用方法 _Attribute. . :: . .GetTypeInfo (繼承自 Attribute。)
明確介面實作私用方法 _Attribute. . :: . .GetTypeInfoCount (繼承自 Attribute。)
明確介面實作私用方法 _Attribute. . :: . .Invoke (繼承自 Attribute。)

上層

備註

Attributes enable programmers to attach custom information to various program entities and retrieve attribute information in a run-time environment. In the runtime, a custom attribute, such as HelpContextAttribute, allows you to use this property to signal and display context-sensitive Help for an application.

The HelpContextAttribute inherits from the attribute class in the Microsoft .NET Framework.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。