Condividi tramite


Classe HelpContextAttribute

Defines a HelpContextAttribute attribute for the HelpContextAttribute class.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Sintassi

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

Nel tipo HelpContextAttribute sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico HelpContextAttribute(String) Initializes a new instance of the HelpContextAttribute class by using an F1 keyword parameter.
Metodo pubblico HelpContextAttribute(String, String, String) Initializes a new instance of the HelpContextAttribute class by using the F1 keyword, collection, and filter parameters.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica F1Keyword Gets or sets a String containing the keyword to be used in looking up Help.
Proprietà pubblica HelpCollection Gets or sets a String containing the Help collection from which to retrieve the Help.
Proprietà pubblica HelpFilter Gets or sets a String containing any filters that are in place to narrow down the search in the Help collection.
Proprietà pubblica TypeId Ereditato da Attribute.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Attribute.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Attribute.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico IsDefaultAttribute Ereditato da Attribute.
Metodo pubblico Match Ereditato da Attribute.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato _Attribute. . :: . .GetIDsOfNames Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute. . :: . .GetTypeInfo Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute. . :: . .GetTypeInfoCount Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute. . :: . .Invoke Ereditato da Attribute.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.