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


IVsTextMarker.SetType - метод

Задает тип маркера текста.

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

Синтаксис

'Декларация
Function SetType ( _
    iMarkerType As Integer _
) As Integer
int SetType(
    int iMarkerType
)
int SetType(
    [InAttribute] int iMarkerType
)
abstract SetType : 
        iMarkerType:int -> int
function SetType(
    iMarkerType : int
) : int

Параметры

  • iMarkerType
    Тип: Int32

    [in] целое число, содержащее тип маркера для быть заданы.

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

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

Заметки

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

Из textmgr.idl:

HRESULT IVsTextMarker::SetType(
   [in] long iMarkerType
);

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

См. также

Ссылки

IVsTextMarker Интерфейс

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