次の方法で共有


ProvideGeneratorAttribute Constructor

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

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Public Sub New ( _
    generatorType As Type, _
    name As String, _
    description As String, _
    packageGuid As String, _
    generateDesignTimeSource As Boolean _
)
public ProvideGeneratorAttribute(
    Type generatorType,
    string name,
    string description,
    string packageGuid,
    bool generateDesignTimeSource
)

Parameters

  • generatorType
    Type: System.Type
    The type of the associated code generator.
  • name
    Type: System.String
    The name of the associated code generator.
  • description
    Type: System.String
    The description of the associated code generator.
  • packageGuid
    Type: System.String
    The GUID of the package containing a project that supports invoking a code generator of generatorType.
  • generateDesignTimeSource
    Type: System.Boolean
    true if the associated code generator generates source code for use at design time, otherwise false.

.NET Framework Security

See Also

Reference

ProvideGeneratorAttribute Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace