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


IVsTextLineMarker.GetType - метод

Возвращает тип маркера текста.

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

Синтаксис

'Декларация
Function GetType ( _
    <OutAttribute> ByRef piMarkerType As Integer _
) As Integer
int GetType(
    out int piMarkerType
)
int GetType(
    [OutAttribute] int% piMarkerType
)
abstract GetType : 
        piMarkerType:int byref -> int
function GetType(
    piMarkerType : int
) : int

Параметры

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

Тип: Int32
Если метод завершается успешно, возвращается S_OK.Если происходит сбой, возвращается код ошибки.

Заметки

Модель COM подписи

Из textmgr.idl:

HRESULT IVsTextLineMarker::GetType(
   [out] long *piMarkerType
);

Безопасность платформы .NET Framework

См. также

Ссылки

IVsTextLineMarker Интерфейс

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