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 column 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 CenterColumns ( _
iLine As Integer, _
iLeftCol As Integer, _
iColCount As Integer _
) As Integer
'Usage
Dim instance As VsTextViewClass
Dim iLine As Integer
Dim iLeftCol As Integer
Dim iColCount As Integer
Dim returnValue As Integer
returnValue = instance.CenterColumns(iLine, _
iLeftCol, iColCount)
public virtual int CenterColumns(
int iLine,
int iLeftCol,
int iColCount
)
public:
virtual int CenterColumns(
[InAttribute] int iLine,
[InAttribute] int iLeftCol,
[InAttribute] int iColCount
)
abstract CenterColumns :
iLine:int *
iLeftCol:int *
iColCount:int -> int
override CenterColumns :
iLine:int *
iLeftCol:int *
iColCount:int -> int
public function CenterColumns(
iLine : int,
iLeftCol : int,
iColCount : int
) : int
Parameters
- iLine
Type: System.Int32
[in] Integer containing the first line to center.
- iLeftCol
Type: System.Int32
[in] Integer containing the index of the starting column to center. Viewcol coordinates may include virtual space.
- iColCount
Type: System.Int32
[in] Integer containing the total number of columns to center within the line.
Return Value
Type: System.Int32
Implements
IVsTextView.CenterColumns(Int32, 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.