ProvideCodeGeneratorAttribute Constructor

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost (in Microsoft.VisualStudio.TextTemplating.VSHost.dll)

Syntax

'宣言
Public Sub New ( _
    type As Type, _
    name As String, _
    description As String, _
    generatesDesignTimeSource As Boolean _
)
'使用
Dim type As Type
Dim name As String
Dim description As String
Dim generatesDesignTimeSource As Boolean

Dim instance As New ProvideCodeGeneratorAttribute(type, name, _
    description, generatesDesignTimeSource)
public ProvideCodeGeneratorAttribute(
    Type type,
    string name,
    string description,
    bool generatesDesignTimeSource
)
public:
ProvideCodeGeneratorAttribute(
    Type^ type, 
    String^ name, 
    String^ description, 
    bool generatesDesignTimeSource
)
public function ProvideCodeGeneratorAttribute(
    type : Type, 
    name : String, 
    description : String, 
    generatesDesignTimeSource : boolean
)

Parameters

Permissions

See Also

Reference

ProvideCodeGeneratorAttribute Class

ProvideCodeGeneratorAttribute Members

Microsoft.VisualStudio.TextTemplating.VSHost Namespace