ProvideGeneratorAttribute(Type, String, String, String, Boolean) Constructor

Definition

Initializes a new instance of ProvideGeneratorAttribute for the given package and generator.

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)

Parameters

generatorType
Type

The type of the associated code generator.

name
String

The name of the associated code generator.

description
String

The description of the associated code generator.

packageGuid
String

The GUID of the package containing a project that supports invoking a code generator of generatorType.

generateDesignTimeSource
Boolean

true if the associated code generator generates source code for use at design time, otherwise false.

Applies to