Поделиться через


Класс 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.