AssemblyReferences 接口
提供对网站项目中使用的引用集合的访问。
命名空间: VsWebSite
程序集: VsWebSite.Interop(在 VsWebSite.Interop.dll 中)
语法
声明
<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
AssemblyReferences 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
ContainingProject | 获取对 DTE 对象(包含此 Web 服务)中的此项目的引用。 | |
Count | 获取 AssemblyReferences 集合中项的总数。 | |
DTE | 获取对包含此 Web 服务的项目所在的 DTE2 对象的引用。 |
页首
方法
名称 | 说明 | |
---|---|---|
AddFromFile | 通过指定的文件路径将 AssemblyReference 对象添加到 AssemblyReferences 集合中。 | |
AddFromGAC | 添加一个表示 GAC 中程序集的 AssemblyReference 对象。 | |
AddFromProject | 从其他项目添加一个 AssemblyReference 对象。 | |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。) | |
GetEnumerator() | 获取可循环访问 AssemblyReferences 集合的枚举器。 | |
Item | 检索集合中的项。 |
页首