Partager via


IVsTextViewEx.SetBackgroundColorIndex Method

Sets the background color index for the text view.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Function SetBackgroundColorIndex ( _
    iBackgroundIndex As Integer _
) As Integer
int SetBackgroundColorIndex(
    int iBackgroundIndex
)
int SetBackgroundColorIndex(
    [InAttribute] int iBackgroundIndex
)
abstract SetBackgroundColorIndex : 
        iBackgroundIndex:int -> int
function SetBackgroundColorIndex(
    iBackgroundIndex : int
) : int

Parameters

  • iBackgroundIndex
    Type: System.Int32

    [in] The index of the background color.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsTextViewEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace