WebSiteProjectAttribute Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Aggiunge un sottotipo di progetto all'elenco esistente di sottotipi di progetto definiti per il progetto di sito Web.
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
- Ereditarietà
- Attributi
Commenti
Ad esempio: [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 "
Costruttori
WebSiteProjectAttribute(String, String) |
Inizializza una nuova istanza della classe WebSiteProjectAttribute. |
Proprietà
LanguageID |
Ottiene l'identificatore di lingua a cui viene fatto riferimento dal modello di Visual Studio. |
LanguageName |
Ottiene il nome della lingua visualizzato nella finestra di dialogo Aggiungi nuovo sito Web nell'elenco delle lingue. |
TypeId |
Ottiene l'istanza corrente di questo attributo. (Ereditato da RegistrationAttribute) |
Metodi
GetPackageRegKeyPath(Guid) |
Ottiene il percorso del Registro di sistema (relativo alla radice del Registro di sistema dell'applicazione) del pacchetto VS. (Ereditato da RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) |
Registra l'attributo con il contesto specificato. |
Unregister(RegistrationAttribute+RegistrationContext) |
Annulla la registrazione di questo attributo. |