SingleFileGeneratorSupportRegistrationAttribute(Type) Konstruktor

Definition

Initialisiert eine neue Instanz der SingleFileGeneratorSupportRegistrationAttribute-Klasse für die Registrierung eines benutzerdefinierten Codegenerators.

public:
 SingleFileGeneratorSupportRegistrationAttribute(Type ^ prjFactoryType);
public:
 SingleFileGeneratorSupportRegistrationAttribute(Platform::Type ^ prjFactoryType);
public SingleFileGeneratorSupportRegistrationAttribute (Type prjFactoryType);
new Microsoft.VisualStudio.Shell.SingleFileGeneratorSupportRegistrationAttribute : Type -> Microsoft.VisualStudio.Shell.SingleFileGeneratorSupportRegistrationAttribute
Public Sub New (prjFactoryType As Type)

Parameter

prjFactoryType
Type

Die GUID des bereitgestellten Typs (angegeben durch das [GUID]-Attribut in der Klassendefinition), das als Projekttyp-GUID für den Pfad [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio{ ver} \generatoren { projecttypeguid}] verwendet wird.

Ausnahmen

Der prjFactoryType-Parameter ist null.

Gilt für