Compartilhar via


VirtualPoint.AbsoluteCharOffset Property

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

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

Syntax

'Declaration
ReadOnly Property AbsoluteCharOffset As Integer
int AbsoluteCharOffset { get; }
property int AbsoluteCharOffset {
    int get ();
}
abstract AbsoluteCharOffset : int with get
function get AbsoluteCharOffset () : int

Property Value

Type: System.Int32
An integer value indicating the one-based character offset from the beginning of the document to the object.

Remarks

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 containing the object. New line characters count as one character.

Character numbering begins at one.

.NET Framework Security

See Also

Reference

VirtualPoint Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples