Export (0) Print
Expand All

WebReferences Interface

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

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

[GuidAttribute("C9E6C08E-1FBB-4F2C-9D26-A206BAC90004")]
public interface WebReferences : IEnumerable

The WebReferences type exposes the following members.

  NameDescription
Public propertyContainingProjectGets a reference to the project in the DTE object that contains this Web reference.
Public propertyCountGets the total number of Web references in the WebReferences collection.
Public propertyDTEGets a reference to the DTE2 object that contains a Web site reference.
Top

  NameDescription
Public methodAddAdds a new WebReference object to the specified project, using the specified namespace.
Public methodGetEnumeratorGets an enumerator that can iterate through the WebReferences collection.
Public methodItemRetrieves a WebReference object from the collection.
Public methodUpdateRediscovers all the Web references consumed by the Web site.
Top

This collection represents the Web services (WSDL files) that are consumed by the Web site.

Show:
© 2014 Microsoft