ProvideGeneratorAttribute Class
Registers the given code generator for Visual Basic and Visual C# projects when added to a Package-derived class or a class that implements IVsPackage.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
System::Attribute
Microsoft.VisualStudio.Shell::RegistrationAttribute
Microsoft.VisualStudio.Shell.Design.Serialization::ProvideGeneratorAttribute
| Name | Description | |
|---|---|---|
![]() | ProvideGeneratorAttribute(Type^, String^, String^, String^, Boolean) | Initializes a new instance of ProvideGeneratorAttribute for the given package and generator. |
| Name | Description | |
|---|---|---|
![]() | Description | Gets the description of the generator. |
![]() | GenerateDesignTimeSource | Gets whether source code is generated for use at design time. |
![]() | GeneratorType | Gets the type of the code generator. |
![]() | Name | Gets the name of the generator. |
![]() | PackageGuid | Gets the GUID of the package containing a project that supports invoking this generator. |
![]() | TypeId | Gets the current instance of this attribute.(Inherited from RegistrationAttribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object^) | (Inherited from Attribute.) |
![]() | Register(RegistrationAttribute::RegistrationContext^) | Registers this attribute with the given context.(Overrides RegistrationAttribute::Register(RegistrationAttribute::RegistrationContext^).) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute::RegistrationContext^) | Removes the registration information about a VSPackage when called by an external registration tool like regpkg.exe. For more information, see Registering VSPackages.(Overrides RegistrationAttribute::Unregister(RegistrationAttribute::RegistrationContext^).) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute::GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



