다음을 통해 공유


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 네임스페이스