WebSiteProjectAttribute Class

 

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

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

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.WebSiteProjectAttribute

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, 
	Inherited = true)]
[ComVisibleAttribute(false)]
public sealed class WebSiteProjectAttribute : RegistrationAttribute

NameDescription
System_CAPS_pubmethodWebSiteProjectAttribute(String, String)

Initializes a new instance of the WebSiteProjectAttribute class.

NameDescription
System_CAPS_pubpropertyLanguageID

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

System_CAPS_pubpropertyLanguageName

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

System_CAPS_pubpropertyTypeId

Gets the current instance of this attribute.(Inherited from RegistrationAttribute.)

For example:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0\Projects\{E24C65DC-7377-472B-9ABA-BC803B73C61A}\ProjectSubType(VsTemplate)\IronPython

    "Default"="Iron Python"

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

    @="Iron Python"

    "NewProjectDialogExOnly"=dword:00000001

    "SortPriority"=dword:0000012c

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

    "DeveloperActivity"="IronPython"

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: