SourceLocation 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。表示源位置。
[System.Serializable]
public struct SourceLocation : IComparable<System.Web.Razor.Text.SourceLocation>, IEquatable<System.Web.Razor.Text.SourceLocation>
type SourceLocation = struct
Public Structure SourceLocation
Implements IComparable(Of SourceLocation), IEquatable(Of SourceLocation)
- 继承
-
SourceLocation
- 属性
- 实现
构造函数
SourceLocation(Int32, Int32, Int32) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。初始化 类的新实例SourceLocation。 |
字段
Undefined |
此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 |
Zero |
此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 |
属性
AbsoluteIndex |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。获取源位置的绝对索引。 |
CharacterIndex |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。获取源位置的字符索引。 |
LineIndex |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。获取源位置的行索引。 |
方法
Add(SourceLocation, SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。添加这两个 SourceLocation 对象。 |
Advance(SourceLocation, String) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。将指定对象推进到给定位置。 |
CompareTo(SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。将当前对象与其他对象进行比较。 |
Equals(Object) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定指定的对象是否等于当前对象。 |
Equals(SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定当前SourceLocation对象是否等于另一个SourceLocation对象。 |
GetHashCode() |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。返回此实例的哈希代码。 |
Subtract(SourceLocation, SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。将第一个对象减去第二个对象。 |
ToString() |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。返回源位置的字符串表示形式。 |
运算符
Addition(SourceLocation, SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。添加这两个 SourceLocation 对象。 |
Equality(SourceLocation, SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定两个对象是否相等。 |
GreaterThan(SourceLocation, SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定第一个对象是否大于第二个对象。 |
Inequality(SourceLocation, SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定两SourceLocation个对象是否不相等。 |
LessThan(SourceLocation, SourceLocation) |
此类型/成员支持.NET Framework基础结构,不应直接从代码使用。确定第一个对象是否小于第二个对象。 |
Subtraction(SourceLocation, SourceLocation) |
此类型/成员支持 .NET Framework 基础结构,不能在代码中直接使用。 |