TextAddress 结构

定义一个文本地址根据字符和行。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
Public Structure TextAddress
public struct TextAddress
public value class TextAddress
[<Sealed>]
type TextAddress =  struct end
JScript 支持使用结构,但是不支持新结构的声明。

TextAddress 类型公开以下成员。

方法

  名称 说明
公共方法 Equals 指示此实例与指定对象是否相等。 (继承自 ValueType。)
公共方法 GetHashCode 返回此实例的哈希代码。 (继承自 ValueType。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 ToString 返回该实例的完全限定类型名。 (继承自 ValueType。)

页首

字段

  名称 说明
公共字段 index 定义文本地址的字符位置。
公共字段 line 定义文本地址的行位置。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间