Share via


VsWebSite Namespace

 

The VsWebSite namespace provides objects and members to automate management tasks for Web site projects.

Classes

Class Description
System_CAPS_pubclass _dispAssemblyReferencesEvents_SinkHelper

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclass _dispWebReferencesEvents_SinkHelper

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclass _dispWebServicesEvents_SinkHelper

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclass _dispWebSiteMiscEvents_SinkHelper

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubclass AssemblyReferencesEventsClass

Represents the events for the References property of a VSWebSite object. Use the AssemblyReferencesEvents object obtained from the AssemblyReferencesEvents property to access the functionality of this class. Do not instantiate from this class.

System_CAPS_pubclass PrjBrowseObjectCATID

Specifies the category ID (CATID) for a project object.

System_CAPS_pubclass PrjCATID

Specifies the category ID (CATID) for projects and project items of Web sites.

System_CAPS_pubclass PrjKind

Specifies the kind of Web project.

System_CAPS_pubclass WebReferencesEventsClass

Represents the events for the WebReferences property of a VSWebSite. Use the WebReferencesEvents object obtained from the WebReferencesEvents property to access the functionality of this class. Do not instantiate from this class.

System_CAPS_pubclass WebServicesEventsClass

Represents the events for the WebServices property of a VSWebSite object. Use the WebServicesEvents object obtained from the WebServicesEvents property to access the functionality of this class. Do not instantiate from this class.

System_CAPS_pubclass WebSiteMiscEventsClass

Represents miscellaneous events for a VSWebSite. Use the WebSiteMiscEvents object obtained from the WebSiteMiscEvents property to access the functionality of this class. Do not instantiate from this class.

Interfaces

Interface Description
System_CAPS_pubinterface _AssemblyReferencesEvents

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _dispAssemblyReferencesEvents

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _dispAssemblyReferencesEvents_Event

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _dispWebReferencesEvents

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _dispWebReferencesEvents_Event

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _dispWebServicesEvents

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _dispWebServicesEvents_Event

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _dispWebSiteMiscEvents

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _dispWebSiteMiscEvents_Event

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _WebReferencesEvents

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _WebServicesEvents

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface _WebSiteMiscEvents

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterface AssemblyReference

Represents an assembly reference used by the Web site.

System_CAPS_pubinterface AssemblyReferences

Provides access to the collection of references used in the Web site project.

System_CAPS_pubinterface AssemblyReferencesEvents

Represents the events for the References property of a VSWebSite object. Use this class to access the functionality provided by AssemblyReferencesEventsClass.

System_CAPS_pubinterface CodeFolder

Represents the App_Code folder, or a first-level child of the App_Code folder that is configured as a code folder.

System_CAPS_pubinterface CodeFolders

Represents a collection of CodeFolder objects, where each item represents either the App_Code folder or one of its first-level child folders configured as a code folder.

System_CAPS_pubinterface RelatedFiles

Represents a collection of related files where each item represents a file.

System_CAPS_pubinterface VSWebPackage

Defines a Web site package or service.

System_CAPS_pubinterface VSWebProjectItem

Provides a project item with Web site-specific functionality.

System_CAPS_pubinterface VSWebSite

Provides properties and methods for a Web site project.

System_CAPS_pubinterface VSWebSiteEvents

Provides access to events collections in the Web site project.

System_CAPS_pubinterface WebFileProperties

Specifies the properties that are supported by files within a Web site.

System_CAPS_pubinterface WebFolderProperties

Specifies the properties of a Web site folder.

System_CAPS_pubinterface WebReference

Represents a Web reference that is consumed by the Web site.

System_CAPS_pubinterface WebReferences

Provides access to all Web references consumed by a Web site project.

System_CAPS_pubinterface WebReferencesEvents

Represents the events for the WebReferences property of a VSWebSite. Use this object to access the functionality provided by WebReferencesEventsClass.

System_CAPS_pubinterface WebService

Represents a Web service implemented by this Web site project, as represented by the .asmx file generated by Visual Studio when the Web site reference was added to the project.

System_CAPS_pubinterface WebServices

Represents a collection of WebService objects.

System_CAPS_pubinterface WebServicesEvents

Provides access to events that are raised by adding, deleting, or changing Web service references in a Web site project. Use this class to access the functionality provided by WebServicesEventsClass.

System_CAPS_pubinterface WebSiteMiscEvents

Represents the events for a VSWebSite object. Use this class to access the functionality provided by WebSiteMiscEventsClass.

System_CAPS_pubinterface WebSiteProperties

The properties supported by a Web site project in Visual Studio.

System_CAPS_pubinterface WebSiteProperties2

Represents the properties that are supported by a Web site project in Visual Studio.

Delegates

Delegate Description
System_CAPS_pubdelegate _dispAssemblyReferencesEvents_AssemblyReferenceAddedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispAssemblyReferencesEvents_AssemblyReferenceRemovedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebReferencesEvents_WebReferenceAddedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebReferencesEvents_WebReferenceChangedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebReferencesEvents_WebReferenceRemovedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebServicesEvents_WebServiceAddedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebServicesEvents_WebServiceChangedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebServicesEvents_WebServiceRemovedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebServicesEvents_WebServiceRenamedEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebSiteMiscEvents_OnAfterFolderRefreshEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubdelegate _dispWebSiteMiscEvents_OnBeforeFolderRefreshEventHandler

This API supports the product infrastructure and is not intended to be used directly from your code. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Enumerations

Enumeration Description
System_CAPS_pubenum AssemblyReferenceType

Specifies an AssemblyReference object.

System_CAPS_pubenum OpenWebsiteOptions

Specifies how the Web site can be opened.

System_CAPS_pubenum webFolderType

Specifies the type of Web folder.

System_CAPS_pubenum webStartAction

Specifies how the Web application is started when the user runs the Web site in Visual Studio.

System_CAPS_pubenum webType

Specifies how the Web site was opened.

Remarks

Visual Studio provides a UI for managing several kinds of projects, which includes Web site projects. You can use classes in the VsWebSite namespace to automate management tasks for Web site projects, such as by using macros or Visual Studio add-ins.

See Also

VSWebSite
EnvDTE
WebSiteProperties
Automation and Extensibility Reference
Referencing Automation Assemblies and the DTE2 Object

Creating Add-ins and Wizards
d300ae97-9048-4c35-90e5-87473f0528ca

Return to top