TextSelection.IsActiveEndGreater 屬性

定義

取得現用點是否等於底點。Gets whether the active point is equal to the bottom point.

public:
 property bool IsActiveEndGreater { bool get(); };
public:
 property bool IsActiveEndGreater { bool get(); };
[System.Runtime.InteropServices.DispId(11)]
[get: System.Runtime.InteropServices.DispId(11)]
public bool IsActiveEndGreater { get; }
[<System.Runtime.InteropServices.DispId(11)>]
[<get: System.Runtime.InteropServices.DispId(11)>]
member this.IsActiveEndGreater : bool
Public ReadOnly Property IsActiveEndGreater As Boolean

屬性值

Boolean

布林值,指出 True 文字選取範圍的使用中是否為比文字檔中錨點更高的絕對字元位移 FalseA Boolean value indicating True if the text selection's active end is at a greater absolute character offset than the anchor in the text document, False if not.

屬性

範例

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  

適用於