WebReferences Interface

Definition

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

public interface class WebReferences : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("C9E6C08E-1FBB-4F2C-9D26-A206BAC90004")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface WebReferences : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("C9E6C08E-1FBB-4F2C-9D26-A206BAC90004")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type WebReferences = interface
    interface IEnumerable
Public Interface WebReferences
Implements IEnumerable
Attributes
Implements

Properties

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.

Methods

Add(String, String)

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(Object)

Retrieves a WebReference object from the collection.

Update()

Rediscovers all the Web references consumed by the Web site.

Applies to