Partager via


IVsTextViewEx.SetBackgroundColorIndex(Int32) Method

Definition

Sets the background color index for the text view.

public:
 int SetBackgroundColorIndex(int iBackgroundIndex);
public:
 int SetBackgroundColorIndex(int iBackgroundIndex);
int SetBackgroundColorIndex(int iBackgroundIndex);
public int SetBackgroundColorIndex (int iBackgroundIndex);
abstract member SetBackgroundColorIndex : int -> int
Public Function SetBackgroundColorIndex (iBackgroundIndex As Integer) As Integer

Parameters

iBackgroundIndex
Int32

[in] The index of the background color.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to