ProvideGeneratorAttribute(Type, String, String, String, Boolean) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ProvideGeneratorAttribute 给定包和生成器的的新实例。
public:
ProvideGeneratorAttribute(Type ^ generatorType, System::String ^ name, System::String ^ description, System::String ^ packageGuid, bool generateDesignTimeSource);
public:
ProvideGeneratorAttribute(Platform::Type ^ generatorType, Platform::String ^ name, Platform::String ^ description, Platform::String ^ packageGuid, bool generateDesignTimeSource);
public ProvideGeneratorAttribute (Type generatorType, string name, string description, string packageGuid, bool generateDesignTimeSource);
new Microsoft.VisualStudio.Shell.Design.Serialization.ProvideGeneratorAttribute : Type * string * string * string * bool -> Microsoft.VisualStudio.Shell.Design.Serialization.ProvideGeneratorAttribute
Public Sub New (generatorType As Type, name As String, description As String, packageGuid As String, generateDesignTimeSource As Boolean)
参数
- generatorType
- Type
关联的代码生成器的类型。
- name
- String
关联的代码生成器的名称。
- description
- String
关联的代码生成器的说明。
- packageGuid
- String
包含支持调用的代码生成器的项目的包的 GUID generatorType 。
- generateDesignTimeSource
- Boolean
true 如果关联的代码生成器生成源代码以便在设计时使用,则为; 否则为 false 。