Classe HelpContextAttribute

Defines a HelpContextAttribute attribute for the HelpContextAttribute class.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Design
Assembly :  Microsoft.SqlServer.Dts.Design (en Microsoft.SqlServer.Dts.Design.dll)

Syntaxe

'Déclaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Field, AllowMultiple := False)> _
Public NotInheritable Class HelpContextAttribute _
    Inherits Attribute
'Utilisation
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

Le type HelpContextAttribute expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique HelpContextAttribute(String) Initializes a new instance of the HelpContextAttribute class by using an F1 keyword parameter.
Méthode publique HelpContextAttribute(String, String, String) Initializes a new instance of the HelpContextAttribute class by using the F1 keyword, collection, and filter parameters.

Haut de la page

Propriétés

  Nom Description
Propriété publique F1Keyword Gets or sets a String containing the keyword to be used in looking up Help.
Propriété publique HelpCollection Gets or sets a String containing the Help collection from which to retrieve the Help.
Propriété publique HelpFilter Gets or sets a String containing any filters that are in place to narrow down the search in the Help collection.
Propriété publique TypeId (hérité de Attribute.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Attribute.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Attribute.)
Méthode publique GetType (hérité de Object.)
Méthode publique IsDefaultAttribute (hérité de Attribute.)
Méthode publique Match (hérité de Attribute.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée _Attribute. . :: . .GetIDsOfNames (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute. . :: . .GetTypeInfo (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute. . :: . .GetTypeInfoCount (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute. . :: . .Invoke (hérité de Attribute.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.