共用方式為


VCCodeImport.File 屬性

取得在其中定義此物件的檔案。

命名空間:  Microsoft.VisualStudio.VCCodeModel
組件:  Microsoft.VisualStudio.VCCodeModel (在 Microsoft.VisualStudio.VCCodeModel.dll 中)

語法

'宣告
ReadOnly Property File As String
string File { get; }
property String^ File {
    String^ get ();
}
abstract File : string with get
function get File () : String

屬性值

型別:System.String
在其中定義此物件的檔案。

.NET Framework 安全性

請參閱

參考

VCCodeImport 介面

Microsoft.VisualStudio.VCCodeModel 命名空間

其他資源

HOW TO:編譯和執行 Automation 物件模型程式碼範例