Compartir a través de


WebServices Interface

Represents a collection of WebService objects.

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

Syntax

'Declaration
<GuidAttribute("7BAEA84D-83B3-449D-B029-D225BD95820E")> _
Public Interface WebServices _
    Inherits IEnumerable
[GuidAttribute("7BAEA84D-83B3-449D-B029-D225BD95820E")]
public interface WebServices : IEnumerable
[GuidAttribute(L"7BAEA84D-83B3-449D-B029-D225BD95820E")]
public interface class WebServices : IEnumerable
[<GuidAttribute("7BAEA84D-83B3-449D-B029-D225BD95820E")>]
type WebServices =  
    interface 
        interface IEnumerable 
    end
public interface WebServices extends IEnumerable

The WebServices type exposes the following members.

Properties

  Name Description
Public property ContainingProject Gets a reference to the project in the Design-Time Extensibility (DTE2) object that contains this Web service collection.
Public property Count Gets the number of items in the collection.
Public property DTE Gets a reference to the DTE2 object that contains the project containing this Web service collection.

Top

Methods

  Name Description
Public method GetEnumerator Gets an enumerator that iterates through the items in the WebServices collection.
Public method Item Returns the WebService at the specified index of the collection.

Top

Remarks

An object of this class can be obtained only by using the WebServices property of a VSWebSite object.

See Also

Reference

VsWebSite Namespace

VSWebSite

WebService

Other Resources

Referencing Automation Assemblies and the DTE2 Object