Share via


SourceLocation.CharacterIndex Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the character index for the source location.

Namespace:  System.Web.Razor.Text
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public ReadOnly Property CharacterIndex As Integer 
    Get
'Usage
Dim instance As SourceLocation 
Dim value As Integer 

value = instance.CharacterIndex
public int CharacterIndex { get; }
public:
property int CharacterIndex {
    int get ();
}
member CharacterIndex : int
function get CharacterIndex () : int

Property Value

Type: System.Int32
The character index for the source location.

See Also

Reference

SourceLocation Structure

System.Web.Razor.Text Namespace