Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Dichiarazione
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
'Utilizzo
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