ITextCaret.Position Property
Gets the current position of the caret.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
ReadOnly Property Position As CaretPosition
Get
CaretPosition Position { get; }
property CaretPosition Position {
CaretPosition get ();
}
abstract Position : CaretPosition
function get Position () : CaretPosition
Property Value
Type: Microsoft.VisualStudio.Text.Editor.CaretPosition
The current position.
.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.