Класс 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.