ProvideCodeGeneratorAttribute 建構函式
命名空間: Microsoft.VisualStudio.TextTemplating.VSHost
組件: Microsoft.VisualStudio.TextTemplating.VSHost.11.0 (在 Microsoft.VisualStudio.TextTemplating.VSHost.11.0.dll 中)
語法
'宣告
Public Sub New ( _
type As Type, _
name As String, _
description As String, _
generatesDesignTimeSource As Boolean _
)
public ProvideCodeGeneratorAttribute(
Type type,
string name,
string description,
bool generatesDesignTimeSource
)
public:
ProvideCodeGeneratorAttribute(
Type^ type,
String^ name,
String^ description,
bool generatesDesignTimeSource
)
new :
type:Type *
name:string *
description:string *
generatesDesignTimeSource:bool -> ProvideCodeGeneratorAttribute
public function ProvideCodeGeneratorAttribute(
type : Type,
name : String,
description : String,
generatesDesignTimeSource : boolean
)
參數
- type
型別:System.Type
- name
型別:System.String
- description
型別:System.String
- generatesDesignTimeSource
型別:System.Boolean
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。