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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。