EditPoint2::AbsoluteCharOffset Property

 

Gets the one-based character offset from the beginning of the document to the EditPoint2 object.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

property int AbsoluteCharOffset {
	int get();
}

Property Value

Type: System::Int32

The one-based character offset from the beginning of the document to the EditPoint2 object.

AbsoluteCharOffset 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.

System_CAPS_warningWarning

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.

No code example is currently available or this language may not be supported.
Return to top
Show: