EditPoint2::AbsoluteCharOffset Property
Visual Studio 2015
Gets the one-based character offset from the beginning of the document to the EditPoint2 object.
Assembly: EnvDTE80 (in EnvDTE80.dll)
Property Value
Type: System::Int32The one-based character offset from the beginning of the document to the EditPoint2 object.
Implements
EditPoint::AbsoluteCharOffsetAbsoluteCharOffset returns the number of characters from the top of the document to the object, as compared to the LineCharOffset property, which determines the number of characters only from the beginning of the line that contains the object.
Warning |
|---|
All newline characters or sequences count as a single character for the purposes of this property. For example, the newline denoted in Visual Basic by vbCrLf (carriage return + line feed) counts as a single character. |
Character numbering begins at one.
Show:
