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


VCCodeStruct.GetStartPoint - метод

Gets a TextPoint object that defines the beginning of the code element definition.

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

Синтаксис

'Декларация
Function GetStartPoint ( _
    Part As vsCMPart _
) As TextPoint
'Применение
Dim instance As VCCodeStruct
Dim Part As vsCMPart
Dim returnValue As TextPoint

returnValue = instance.GetStartPoint(Part)
TextPoint GetStartPoint(
    vsCMPart Part
)
TextPoint^ GetStartPoint(
    [InAttribute] vsCMPart Part
)
function GetStartPoint(
    Part : vsCMPart
) : TextPoint

Параметры

Возвращаемое значение

Тип: EnvDTE.TextPoint

A TextPoint object.

Заметки

The GetStartPoint and GetEndPoint methods return a TextPoint object that represents the beginning and end of a specified code element definition. The Part parameter defines the code element definition to return.

Разрешения

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

См. также

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

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

Ссылки

VCCodeStruct Интерфейс

VCCodeStruct - члены

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