IVsContainedLanguageColorizer.ColorizeLineFragment Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
Function ColorizeLineFragment ( _
iLine As Integer, _
iIndex As Integer, _
iLength As Integer, _
pszText As String, _
iState As Integer, _
<OutAttribute> ByRef pAttributes As UInteger, _
<OutAttribute> ByRef piNewState As Integer _
) As Integer
用法
Dim instance As IVsContainedLanguageColorizer
Dim iLine As Integer
Dim iIndex As Integer
Dim iLength As Integer
Dim pszText As String
Dim iState As Integer
Dim pAttributes As UInteger
Dim piNewState As Integer
Dim returnValue As Integer
returnValue = instance.ColorizeLineFragment(iLine, _
iIndex, iLength, pszText, iState, _
pAttributes, piNewState)
int ColorizeLineFragment(
int iLine,
int iIndex,
int iLength,
string pszText,
int iState,
out uint pAttributes,
out int piNewState
)
int ColorizeLineFragment(
[InAttribute] int iLine,
[InAttribute] int iIndex,
[InAttribute] int iLength,
[InAttribute] String^ pszText,
[InAttribute] int iState,
[OutAttribute] unsigned int% pAttributes,
[OutAttribute] int% piNewState
)
abstract ColorizeLineFragment :
iLine:int *
iIndex:int *
iLength:int *
pszText:string *
iState:int *
pAttributes:uint32 byref *
piNewState:int byref -> int
function ColorizeLineFragment(
iLine : int,
iIndex : int,
iLength : int,
pszText : String,
iState : int,
pAttributes : uint,
piNewState : int
) : int
Parameters
- iLine
Type: System.Int32
- iIndex
Type: System.Int32
- iLength
Type: System.Int32
- pszText
Type: System.String
- iState
Type: System.Int32
- pAttributes
Type: System.UInt32%
- piNewState
Type: System.Int32%
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsContainedLanguageColorizer Interface