IVsTextViewEx::SetBackgroundColorIndex Method (Int32)

 

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)

int SetBackgroundColorIndex(
	int iBackgroundIndex
)

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.

Return to top
Show: