References 介面
包含 Visual Basic 或 C# 專案中外部元件的所有參考。
命名空間: VSLangProj
組件: VSLangProj (在 vslangproj.dll 中)
語法
'宣告
<GuidAttribute("B8758EE4-0553-4BC9-8432-440449D35C14")> _
Public Interface References
Inherits IEnumerable
'用途
Dim instance As References
[GuidAttribute("B8758EE4-0553-4BC9-8432-440449D35C14")]
public interface References : IEnumerable
[GuidAttribute(L"B8758EE4-0553-4BC9-8432-440449D35C14")]
public interface class References : IEnumerable
/** @attribute GuidAttribute("B8758EE4-0553-4BC9-8432-440449D35C14") */
public interface References extends IEnumerable
GuidAttribute("B8758EE4-0553-4BC9-8432-440449D35C14")
public interface References extends IEnumerable
備註
為了寫入外部元件的程式碼,您的專案必須先包含這個元件的參考。有三種元件可建立參考:.NET 組件 (Assembly)、.NET 專案及 COM Automation 伺服程式和控制項 (Control)。如需可以加入之參考型別的詳細相關資訊,請參閱 Add、AddActiveX 與 AddProject。
範例
請參閱 References。