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


IVsTextStorageColorState.GetColorStateAtStartOfLine - метод

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

Синтаксис

'Декларация
Function GetColorStateAtStartOfLine ( _
    iLine As Integer, _
    <OutAttribute> ByRef piState As Integer _
) As Integer
int GetColorStateAtStartOfLine(
    int iLine,
    out int piState
)
int GetColorStateAtStartOfLine(
    [InAttribute] int iLine, 
    [OutAttribute] int% piState
)
abstract GetColorStateAtStartOfLine : 
        iLine:int * 
        piState:int byref -> int
function GetColorStateAtStartOfLine(
    iLine : int, 
    piState : int
) : int

Параметры

  • iLine
    Тип: Int32

    [in]

  • piState
    Тип: Int32%

    [out]

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

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

Заметки

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

Из textmgr.idl:

HRESULT IVsTextStorageColorState::GetColorStateAtStartOfLine(
   [in] long iLine, 
   [out] long *piState
);

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

См. также

Ссылки

IVsTextStorageColorState Интерфейс

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