Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Places the specified lines of text in the center of the view.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function CenterLines ( _
iTopLine As Integer, _
iCount As Integer _
) As Integer
'Usage
Dim instance As VsTextViewClass
Dim iTopLine As Integer
Dim iCount As Integer
Dim returnValue As Integer
returnValue = instance.CenterLines(iTopLine, _
iCount)
public virtual int CenterLines(
int iTopLine,
int iCount
)
public:
virtual int CenterLines(
[InAttribute] int iTopLine,
[InAttribute] int iCount
)
abstract CenterLines :
iTopLine:int *
iCount:int -> int
override CenterLines :
iTopLine:int *
iCount:int -> int
public function CenterLines(
iTopLine : int,
iCount : int
) : int
Parameters
- iTopLine
Type: System.Int32
[in] First line to place in the center of the view.
- iCount
Type: System.Int32
[in] Total number of lines to place in the center of the view.
Return Value
Type: System.Int32
Implements
IVsTextView.CenterLines(Int32, 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.