SourceLocation Structure

SourceLocation Structure

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

Represents a source location.

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

[SerializableAttribute]
public struct SourceLocation : IEquatable<SourceLocation>, 
	IComparable<SourceLocation>

The SourceLocation type exposes the following members.

  NameDescription
Public methodSourceLocationThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the SourceLocation class.
Top

  NameDescription
Public propertyAbsoluteIndexThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the absolute index for the source location.
Public propertyCharacterIndexThis 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.
Public propertyLineIndexThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the line index for the source location.
Top

  NameDescription
Public methodStatic memberAddThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds the two SourceLocation object.
Public methodStatic memberAdvanceThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Advances the specified object to the given location.
Public methodCompareToThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Compares current object to the other object.
Public methodEquals(Object)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the specified object is equal to the current object. (Overrides ValueType.Equals(Object).)
Public methodEquals(SourceLocation)This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the current SourceLocation object is equal to the other SourceLocation object.
Public methodGetHashCodeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodStatic memberSubtractThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Subtracts the first object to the second object.
Public methodToStringThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string representation of the source location. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operatorStatic memberAdditionThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds the two SourceLocation object.
Public operatorStatic memberEqualityThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two objects are equal.
Public operatorStatic memberGreaterThanThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the first object is greater than the second object.
Public operatorStatic memberInequalityThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two SourceLocationobject are not equal.
Public operatorStatic memberLessThanThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the first object is less than the second object.
Public operatorStatic memberSubtractionThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top

  NameDescription
Public fieldStatic memberUndefinedThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public fieldStatic memberZeroThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2016 Microsoft