共用方式為


VirtualPoint.GreaterThan 方法 (TextPoint)

傳回是否呼叫物件的 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
如果與進行呼叫之點物件的 AbsoluteCharOffset 屬性比較,Point 具有較小的 AbsoluteCharOffset 屬性值,則布林值指示為 true。

實作

TextPoint.GreaterThan(TextPoint)

備註

如果 Point 與呼叫點物件不在相同的文件中,GreaterThan 就會擲回 ArgumentException 例外狀況。 如果引數是 VirtualPoint,則 GreaterThan 會比較虛擬位置;否則會比較「實體」位置。

.NET Framework 安全性

請參閱

參考

VirtualPoint 介面

GreaterThan 多載

EnvDTE 命名空間

其他資源

HOW TO:編譯和執行 Automation 物件模型程式碼範例