WebSiteProjectAttribute Classe

Definição

Adiciona um subtipo de projeto à lista existente de subtipos de projeto definidos para o projeto de site.

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
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type WebSiteProjectAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class WebSiteProjectAttribute
Inherits RegistrationAttribute
Herança
WebSiteProjectAttribute
Atributos

Comentários

Por exemplo: [ \( *versão* do HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio) \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] @ = "ferro Python" "NewProjectDialogExOnly" = DWORD: 00000001 "SortPriority" = DWORD: 0000012c "TemplatesDir" = "D: \\ Program files \\ Microsoft Visual Studio 8 \\ Web \\ . \\ Webprojects \\ IronPython "" DeveloperActivity "=" IronPython "

Construtores

WebSiteProjectAttribute(String, String)

Inicializa uma nova instância da classe WebSiteProjectAttribute.

Propriedades

LanguageID

Obtém o identificador de idioma que está sendo referenciado do modelo do Visual Studio.

LanguageName

Obtém o nome do idioma exibido na caixa de diálogo Adicionar novo site na lista de idiomas.

TypeId

Obtém a instância atual deste atributo.

(Herdado de RegistrationAttribute)

Métodos

GetPackageRegKeyPath(Guid)

Obtém o caminho do registro (relativo à raiz do registro do aplicativo) do VSPackage.

(Herdado de RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registra esse atributo com o contexto fornecido.

Unregister(RegistrationAttribute+RegistrationContext)

Cancela o registro deste atributo.

Aplica-se a