共用方式為


VCCodeImport.GetEndPoint 方法

TextPoint 物件,用以標示程式碼項目定義的結尾。

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

語法

'宣告
Function GetEndPoint ( _
    Part As vsCMPart _
) As TextPoint
TextPoint GetEndPoint(
    vsCMPart Part
)
TextPoint^ GetEndPoint(
    [InAttribute] vsCMPart Part
)
abstract GetEndPoint : 
        Part:vsCMPart -> TextPoint
function GetEndPoint(
    Part : vsCMPart
) : TextPoint

參數

  • Part
    類型:vsCMPart

    選擇項。 vsCMPart 常數,指定要擷取的程式碼部分。

傳回值

類型:TextPoint
TextPoint 物件。

.NET Framework 安全性

請參閱

參考

VCCodeImport 介面

Microsoft.VisualStudio.VCCodeModel 命名空間

其他資源

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