TemplateWizardSecurityAttribute 類別
指定範本精靈擴充功能只會在由指定的範本呼叫時才執行。
繼承階層架構
System.Object
System.Attribute
Microsoft.VisualStudio.TemplateWizard.TemplateWizardSecurityAttribute
命名空間: Microsoft.VisualStudio.TemplateWizard
組件: Microsoft.VisualStudio.TemplateWizardInterface (在 Microsoft.VisualStudio.TemplateWizardInterface.dll 中)
語法
'宣告
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := False, AllowMultiple := True)> _
Public NotInheritable Class TemplateWizardSecurityAttribute _
Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class TemplateWizardSecurityAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = false, AllowMultiple = true)]
public ref class TemplateWizardSecurityAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = true)>]
type TemplateWizardSecurityAttribute =
class
inherit Attribute
end
public final class TemplateWizardSecurityAttribute extends Attribute
TemplateWizardSecurityAttribute 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
TemplateWizardSecurityAttribute | 指定範本精靈擴充功能只會在由指定的範本呼叫時才執行。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
![]() |
CallingTemplate | 取得可呼叫範本精靈擴充功能的範本名稱。 |
![]() |
TypeId | 在衍生類別中實作時,取得這個 Attribute 的唯一識別項。 (繼承自 Attribute)。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | 基礎架構。傳回數值,表示這個執行個體是否等於指定的物件。 (繼承自 Attribute)。 |
![]() |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 傳回這個執行個體的雜湊程式碼。 (繼承自 Attribute)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
IsDefaultAttribute | 在衍生類別中覆寫時,表示這個執行個體的值是否為衍生類別的預設值。 (繼承自 Attribute)。 |
![]() |
Match | 在衍生類別中覆寫時,會傳回值,表示這個執行個體是否等於指定物件。 (繼承自 Attribute)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 |
![]() |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
明確介面實作
名稱 | 說明 | |
---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | 將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。 (繼承自 Attribute)。 |
![]() ![]() |
_Attribute.GetTypeInfo | 擷取物件的型別資訊,可以用來取得介面的型別資訊。 (繼承自 Attribute)。 |
![]() ![]() |
_Attribute.GetTypeInfoCount | 擷取物件提供的型別資訊介面數目 (0 或 1)。 (繼承自 Attribute)。 |
![]() ![]() |
_Attribute.Invoke | 提供物件所公開的屬性和方法的存取權。 (繼承自 Attribute)。 |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。