Partager via


VsTextViewClass.SetTopLine(Int32) Method

Definition

Sets the top line in the view to the baseline.

public:
 virtual int SetTopLine(int iBaseLine) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::SetTopLine;
public:
 virtual int SetTopLine(int iBaseLine);
public:
 virtual int SetTopLine(int iBaseLine) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::SetTopLine;
 virtual int SetTopLine(int iBaseLine);
public virtual int SetTopLine (int iBaseLine);
abstract member SetTopLine : int -> int
override this.SetTopLine : int -> int
Public Overridable Function SetTopLine (iBaseLine As Integer) As Integer

Parameters

iBaseLine
Int32

[in] Indicates the line that should be set as the baseline.

Returns

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

Implements

Applies to