Поделиться через


VCFileCodeModel.EndPoint - свойство

Gets the edit point that is the location of the end of the code item.

Пространство имен:  Microsoft.VisualStudio.VCCodeModel
Сборка:  Microsoft.VisualStudio.VCCodeModel (в Microsoft.VisualStudio.VCCodeModel.dll)

Синтаксис

'Декларация
ReadOnly Property EndPoint As TextPoint
'Применение
Dim instance As VCFileCodeModel
Dim value As TextPoint

value = instance.EndPoint
TextPoint EndPoint { get; }
property TextPoint^ EndPoint {
    TextPoint^ get ();
}
function get EndPoint () : TextPoint

Значение свойства

Тип: EnvDTE.TextPoint

A TextPoint object.

Заметки

The edit point location is immediately after the last character of the code element (including any semicolon, terminating syntax, or separating syntax). Fetching the property implicitly opens the source file if it can be opened. Some languages, however, cannot open arbitrary files on the disk and can only open files in currently open solution.

Разрешения

  • Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.

См. также

Основные понятия

How to: Compile and Run the Automation Object Model Code Examples

Ссылки

VCFileCodeModel Интерфейс

VCFileCodeModel - члены

Microsoft.VisualStudio.VCCodeModel - пространство имен