VsWebSite Namespace
The VsWebSite namespace provides objects and members to automate management tasks for Web site projects.
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.
Classes
Class | Description | |
---|---|---|
_dispAssemblyReferencesEvents_SinkHelper | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebReferencesEvents_SinkHelper | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebServicesEvents_SinkHelper | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebSiteMiscEvents_SinkHelper | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
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. | |
PrjBrowseObjectCATID | Specifies the category ID (CATID) for a project object. | |
PrjCATID | Specifies the category ID (CATID) for projects and project items of Web sites. | |
PrjKind | Specifies the kind of Web project. | |
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. | |
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. | |
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 | |
---|---|---|
_AssemblyReferencesEvents | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispAssemblyReferencesEvents | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispAssemblyReferencesEvents_Event | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebReferencesEvents | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebReferencesEvents_Event | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebServicesEvents | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebServicesEvents_Event | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebSiteMiscEvents | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebSiteMiscEvents_Event | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_WebReferencesEvents | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_WebServicesEvents | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_WebSiteMiscEvents | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
AssemblyReference | Represents an assembly reference used by the Web site. | |
AssemblyReferences | Provides access to the collection of references used in the Web site project. | |
AssemblyReferencesEvents | Represents the events for the References property of a VSWebSite object. Use this class to access the functionality provided by AssemblyReferencesEventsClass. | |
CodeFolder | Represents the App_Code folder, or a first-level child of the App_Code folder that is configured as a code folder. | |
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. | |
RelatedFiles | Represents a collection of related files where each item represents a file. | |
VSWebPackage | Defines a Web site package or service. | |
VSWebProjectItem | Provides a project item with Web site-specific functionality. | |
VSWebSite | Provides properties and methods for a Web site project. | |
VSWebSiteEvents | Provides access to events collections in the Web site project. | |
WebFileProperties | Specifies the properties that are supported by files within a Web site. | |
WebFolderProperties | Specifies the properties of a Web site folder. | |
WebReference | Represents a Web reference that is consumed by the Web site. | |
WebReferences | Provides access to all Web references consumed by a Web site project. | |
WebReferencesEvents | Represents the events for the WebReferences property of a VSWebSite. Use this object to access the functionality provided by WebReferencesEventsClass. | |
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. | |
WebServices | Represents a collection of WebService objects. | |
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. | |
WebSiteMiscEvents | Represents the events for a VSWebSite object. Use this class to access the functionality provided by WebSiteMiscEventsClass. | |
WebSiteProperties | The properties supported by a Web site project in Visual Studio. | |
WebSiteProperties2 | Represents the properties that are supported by a Web site project in Visual Studio. |
Delegates
Delegate | Description | |
---|---|---|
_dispAssemblyReferencesEvents_AssemblyReferenceAddedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispAssemblyReferencesEvents_AssemblyReferenceRemovedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebReferencesEvents_WebReferenceAddedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebReferencesEvents_WebReferenceChangedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebReferencesEvents_WebReferenceRemovedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebServicesEvents_WebServiceAddedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebServicesEvents_WebServiceChangedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebServicesEvents_WebServiceRemovedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebServicesEvents_WebServiceRenamedEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebSiteMiscEvents_OnAfterFolderRefreshEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
_dispWebSiteMiscEvents_OnBeforeFolderRefreshEventHandler | Infrastructure. This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Enumerations
Enumeration | Description | |
---|---|---|
AssemblyReferenceType | Specifies an AssemblyReference object. | |
OpenWebsiteOptions | Specifies how the Web site can be opened. | |
webFolderType | Specifies the type of Web folder. | |
webStartAction | Specifies how the Web application is started when the user runs the Web site in Visual Studio. | |
webType | Specifies how the Web site was opened. |
See Also
Reference
Other Resources
Automation and Extensibility Reference