TextPoint.GreaterThan 方法

指示调用对象的 AbsoluteCharOffset 属性值是否大于给定点对象的该属性值。

命名空间:  EnvDTE
程序集:  EnvDTE(在 EnvDTE.dll 中)

语法

声明
Function GreaterThan ( _
    Point As TextPoint _
) As Boolean
bool GreaterThan(
    TextPoint Point
)
bool GreaterThan(
    [InAttribute] TextPoint^ Point
)
abstract GreaterThan : 
        Point:TextPoint -> bool 
function GreaterThan(
    Point : TextPoint
) : boolean

参数

返回值

类型:System.Boolean
一个布尔值,如果 Point 的 AbsoluteCharOffset 属性值小于调用点对象的 AbsoluteCharOffset 属性值,则为 true。

备注

如果 Point 与调用点对象不在同一文档中,GreaterThan 将引发 ArgumentException 异常。

.NET Framework 安全性

请参见

参考

TextPoint 接口

EnvDTE 命名空间

其他资源

如何:编译和运行自动化对象模型代码示例