SourceCodePosition Class
Specifies the location and position of the source code for a model element.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SchemaModel.SourceCodePosition
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public NotInheritable Class SourceCodePosition _
Implements IEquatable(Of SourceCodePosition)
public sealed class SourceCodePosition : IEquatable<SourceCodePosition>
public ref class SourceCodePosition sealed : IEquatable<SourceCodePosition^>
[<Sealed>]
type SourceCodePosition =
class
interface IEquatable<SourceCodePosition>
end
public final class SourceCodePosition implements IEquatable<SourceCodePosition>
The SourceCodePosition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SourceCodePosition | Initializes a new instance of the SourceCodePosition class by using the provided parameters. |
Top
Properties
Name | Description | |
---|---|---|
IsPrimary | Gets a value that indicates whether this object represents the primary source for the element that it defines. | |
Length | Gets the offset in the source file for the start of the definition. | |
SourceName | Gets the name of the source, usually a file name. | |
StartColumn | Gets the number of the starting column for the definition. | |
StartLine | Gets the starting line number for the definition. | |
StartOffset | Gets the offset for the start of the definition in the source. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Returns a value that indicates whether the provided object and the current object are equal. (Overrides Object.Equals(Object).) | |
Equals(SourceCodePosition) | Returns a value that indicates whether the provided object and the current object are equal. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Infrastructure. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.