共用方式為


VCCodeIDLLibrary.EndPoint 屬性

取得編輯點,此編輯點為程式碼項目結尾的位置。

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

語法

'宣告
ReadOnly Property EndPoint As TextPoint
TextPoint EndPoint { get; }
property TextPoint^ EndPoint {
    TextPoint^ get ();
}
abstract EndPoint : TextPoint with get
function get EndPoint () : TextPoint

屬性值

型別:EnvDTE.TextPoint
TextPoint 物件。

備註

編輯點位置緊接在程式碼項目最後一個字元 (包含任何分號、終止語法或分隔語法) 的後面。 您只要隱含地擷取屬性,即可開啟原始程式檔 (如果可以開啟)。 但是有些語言無法在磁碟上開啟任意檔案,而只能在目前開啟的方案中開啟檔案。

.NET Framework 安全性

請參閱

參考

VCCodeIDLLibrary 介面

Microsoft.VisualStudio.VCCodeModel 命名空間

其他資源

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