AssemblyReferences Interface

Provides access to the collection of references used in the Web site project.

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

Syntax

'Declaration
<GuidAttribute("2C264A1A-DBFB-43FE-9434-997B5BE0FCCC")> _
Public Interface AssemblyReferences _
    Inherits IEnumerable
[GuidAttribute("2C264A1A-DBFB-43FE-9434-997B5BE0FCCC")]
public interface AssemblyReferences : IEnumerable
[GuidAttribute(L"2C264A1A-DBFB-43FE-9434-997B5BE0FCCC")]
public interface class AssemblyReferences : IEnumerable
[<GuidAttribute("2C264A1A-DBFB-43FE-9434-997B5BE0FCCC")>]
type AssemblyReferences =  
    interface
        interface IEnumerable
    end
public interface AssemblyReferences extends IEnumerable

The AssemblyReferences type exposes the following members.

Properties

  Name Description
Public property ContainingProject Gets a reference to the project in the DTE object that contains this Web service.
Public property Count Gets the total number of items in the AssemblyReferences collection.
Public property DTE Gets a reference to the DTE2 object that contains the project containing this Web service.

Top

Methods

  Name Description
Public method AddFromFile Adds an AssemblyReference object to the AssemblyReferences collection from the specified file path.
Public method AddFromGAC Adds an AssemblyReference object representing an assembly in the GAC.
Public method AddFromProject Adds an AssemblyReference object from another project.
Public method GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method GetEnumerator() Gets an enumerator that can iterate through the AssemblyReferences collection.
Public method Item Retrieves an item from the collection.

Top

See Also

Reference

VsWebSite Namespace

VSWebSite

AssemblyReference