Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides access to all Web references consumed by a Web site project.
Namespace: VsWebSite
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
Syntax
'Declaration
<GuidAttribute("C9E6C08E-1FBB-4F2C-9D26-A206BAC90004")> _
Public Interface WebReferences _
Inherits IEnumerable
[GuidAttribute("C9E6C08E-1FBB-4F2C-9D26-A206BAC90004")]
public interface WebReferences : IEnumerable
[GuidAttribute(L"C9E6C08E-1FBB-4F2C-9D26-A206BAC90004")]
public interface class WebReferences : IEnumerable
[<GuidAttribute("C9E6C08E-1FBB-4F2C-9D26-A206BAC90004")>]
type WebReferences =
interface
interface IEnumerable
end
public interface WebReferences extends IEnumerable
The WebReferences type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
ContainingProject | Gets a reference to the project in the DTE object that contains this Web reference. |
![]() |
Count | Gets the total number of Web references in the WebReferences collection. |
![]() |
DTE | Gets a reference to the DTE2 object that contains a Web site reference. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add | Adds a new WebReference object to the specified project, using the specified namespace. |
![]() |
GetEnumerator | Gets an enumerator that can iterate through the WebReferences collection. |
![]() |
Item | Retrieves a WebReference object from the collection. |
![]() |
Update | Rediscovers all the Web references consumed by the Web site. |
Top
Remarks
This collection represents the Web services (WSDL files) that are consumed by the Web site.