Export (0) Print
Expand All

Location Structure

Represents the source location.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Parser
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public struct Location : IComparable<Location>

The Location type exposes the following members.

  NameDescription
Public methodLocationInitializes a new instance of the Location class with the specified line and column number.
Top

  NameDescription
Public methodCompareToCompares this Location object with the specified Location object and returns an integer that indicates their relative positions to one another.
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodToStringReturns a string representation of this Location object. (Overrides ValueTypeToString.)
Top

  NameDescription
Public fieldColumnNumberGets the column number.
Public fieldLineNumberGets the line number.
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft