TextSelection.IsActiveEndGreater 属性

获取指示活动点是否等于最低点的值。

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

语法

声明
ReadOnly Property IsActiveEndGreater As Boolean
bool IsActiveEndGreater { get; }
property bool IsActiveEndGreater {
    bool get ();
}
abstract IsActiveEndGreater : bool with get
function get IsActiveEndGreater () : boolean

属性值

类型:Boolean
指示 True,如果文本选项的活动的结束时间长于的定位点文本文档在更大的绝对字符偏移量,False 的布尔值,如果没有。

示例

Sub IsActiveEndGreaterExample()
   ' Before running this example, open a text document.
   Dim objSel As TextSelection = DTE.ActiveDocument.Selection
   ' Go to first line in document.
   objSel.GotoLine(1, False)
   MsgBox("Is the active point at the bottom of the document? " & objSel.IsActiveEndGreater)
   objSel.EndOfDocument(True)
   MsgBox("Is the active point at the bottom of the document? " & objSel.IsActiveEndGreater)
End Sub

.NET Framework 安全性

请参阅

参考

TextSelection 接口

EnvDTE 命名空间