Version

GetOffsetFromLocation Method

Returns the overall character location offset from the start of the file, from the supplied line and character location.
Syntax
'Declaration
 
Public Function GetOffsetFromLocation( _
   ByVal aryLocation() As System.Object _
) As System.Integer
public System.int GetOffsetFromLocation( 
   System.object[] aryLocation
)
public: System.int GetOffsetFromLocation( 
   System.Object*[]* aryLocation
) 

Parameters

aryLocation
a two dimensional array consisting of the line index and character index of the location

Return Value

the overall character location offset from the start of the file
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also