SingleFileGeneratorSupportRegistrationAttribute Constructor (Type^)
Visual Studio 2015
Initializes a new instance of the SingleFileGeneratorSupportRegistrationAttribute class to register a custom code generator.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- prjFactoryType
-
Type:
System::Type^
The supplied Type’s GUID (supplied by the [Guid] attribute on the class definition) that is used as the project type GUID for the path [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\{ver}\Generators\{ProjectTypeGuid}].
| Exception | Condition |
|---|---|
| ArgumentNullException | The prjFactoryType parameter is null. |
Show: