Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
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
)
public:
ProvideGeneratorAttribute(
Type^ generatorType,
String^ name,
String^ description,
String^ packageGuid,
bool generateDesignTimeSource
)
new :
generatorType:Type *
name:string *
description:string *
packageGuid:string *
generateDesignTimeSource:bool -> ProvideGeneratorAttribute
public function ProvideGeneratorAttribute(
generatorType : Type,
name : String,
description : String,
packageGuid : String,
generateDesignTimeSource : boolean
)
Parameters
generatorType
Type: TypeThe type of the associated code generator.
name
Type: StringThe name of the associated code generator.
description
Type: StringThe description of the associated code generator.
packageGuid
Type: StringThe GUID of the package containing a project that supports invoking a code generator of generatorType.
generateDesignTimeSource
Type: Booleantrue if the associated code generator generates source code for use at design time, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.