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

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

Properties

Name Description
System_CAPS_pubproperty ContainingProject

Gets a reference to the project in the DTE object that contains this Web service.

System_CAPS_pubproperty Count

Gets the total number of items in the AssemblyReferences collection.

System_CAPS_pubproperty DTE

Gets a reference to the DTE2 object that contains the project containing this Web service.

Methods

Name Description
System_CAPS_pubmethod AddFromFile(String)

Adds an AssemblyReference object to the AssemblyReferences collection from the specified file path.

System_CAPS_pubmethod AddFromGAC(String)

Adds an AssemblyReference object representing an assembly in the GAC.

System_CAPS_pubmethod AddFromProject(Project)

Adds an AssemblyReference object from another project.

System_CAPS_pubmethod GetEnumerator()

Gets an enumerator that can iterate through the AssemblyReferences collection.

System_CAPS_pubmethod Item(Object)

Retrieves an item from the collection.

See Also

VSWebSite
AssemblyReference
VsWebSite Namespace

Return to top