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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。