WebSiteProjectAttribute WebSiteProjectAttribute WebSiteProjectAttribute WebSiteProjectAttribute WebSiteProjectAttribute Class

Definition

Adds a project subtype to the existing list of defined project subtypes for the Web Site Project.

public ref class WebSiteProjectAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class WebSiteProjectAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class WebSiteProjectAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type WebSiteProjectAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class WebSiteProjectAttribute
Inherits RegistrationAttribute
Inheritance
WebSiteProjectAttributeWebSiteProjectAttributeWebSiteProjectAttributeWebSiteProjectAttributeWebSiteProjectAttribute
Attributes

Remarks

For example:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio(version)\Projects\

{E24C65DC-7377-472B-9ABA-BC803B73C61A}\ProjectSubType(VsTemplate)\IronPython

    "Default"="Iron Python"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\NewProjectTemplates\TemplateDirs{39c9c826-8ef8-4079-8c95-428f5b1c323f}\IronPython]

@="Iron Python"

"NewProjectDialogExOnly"=dword:00000001

"SortPriority"=dword:0000012c

"TemplatesDir"="D:\\Program Files\\Microsoft Visual Studio 8\\Web\\.\\WebProjects\\IronPython"

"DeveloperActivity"="IronPython"

Constructors

WebSiteProjectAttribute(String, String) WebSiteProjectAttribute(String, String) WebSiteProjectAttribute(String, String) WebSiteProjectAttribute(String, String) WebSiteProjectAttribute(String, String)

Initializes a new instance of the WebSiteProjectAttribute class.

Properties

LanguageID LanguageID LanguageID LanguageID LanguageID

Gets the language identifier that is being referenced from the Visual Studio template.

LanguageName LanguageName LanguageName LanguageName LanguageName

Gets the language name that shows up in the Add New Web Site dialog under the list of languages.

TypeId TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this attribute.

Applies to