WebSiteProjectAttribute Klasse

Definition

Fügt der vorhandenen Liste von definierte Projektuntertypen für das Websiteprojekt einen Projektuntertyp hinzu.

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
Vererbung
WebSiteProjectAttribute
Attribute

Hinweise

Beispiel: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\( *Version*) \project\ {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 "" developoperactivity "=" IronPython "

Konstruktoren

WebSiteProjectAttribute(String, String)

Initialisiert eine neue Instanz der WebSiteProjectAttribute-Klasse.

Eigenschaften

LanguageID

Ruft die Sprachen-ID ab, die von der Visual Studio-Vorlage verwiesen wird.

LanguageName

Ruft den Namen der Sprache ab, die im Dialogfeld neue Website hinzufügen unter der Liste der Sprachen angezeigt wird.

TypeId

Ruft die aktuelle Instanz dieses Attributs ab.

(Geerbt von RegistrationAttribute)

Methoden

GetPackageRegKeyPath(Guid)

Ruft den Registrierungspfad (relativ zum Registrierungsstamm der Anwendung) des VSPackages ab.

(Geerbt von RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registriert dieses Attribut im angegebenen Kontext.

Unregister(RegistrationAttribute+RegistrationContext)

Hebt die Registrierung für dieses Attribut auf.

Gilt für