TextPosition(ITextDocumentSnapshot, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- document
- ITextDocumentSnapshot
- position
- Int32
The position of the position.