Share via


TextPosition(ITextDocumentSnapshot, Int32) Constructor

Definition

Initializes a new instance of a TextPosition with respect to a particular ITextDocumentSnapshot version.

public TextPosition (Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshot document, int position);
new Microsoft.VisualStudio.Extensibility.Editor.TextPosition : Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshot * int -> Microsoft.VisualStudio.Extensibility.Editor.TextPosition
Public Sub New (document As ITextDocumentSnapshot, position As Integer)

Parameters

position
Int32

The position of the position.

Applies to