Share via


SingleFileGeneratorSupportRegistrationAttribute(Type) Constructor

Definition

Creates a new SingleFileGeneratorSupportRegistrationAttribute attribute to register a custom code generator for the provided context.

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)

Parameters

prjFactoryType
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}].

Exceptions

The prjFactoryType parameter is null.

Applies to