ProvideCodeGeneratorAttribute 建構函式
命名空間: Microsoft.VisualStudio.TextTemplating.VSHost
組件: Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (在 Microsoft.VisualStudio.TextTemplating.VSHost.12.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
類型:Type
- name
類型:String
- description
類型:String
- generatesDesignTimeSource
類型:Boolean
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。