SingleFileGeneratorSupportRegistrationAttribute Constructor (Type^)

 

Initializes a new instance of the SingleFileGeneratorSupportRegistrationAttribute class to register a custom code generator.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
SingleFileGeneratorSupportRegistrationAttribute(
	Type^ prjFactoryType
)

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.

Return to top
Show: