다음을 통해 공유


TextSelection.IsActiveEndGreater 속성

활성 지점이 맨 아래 지점과 같은지 여부를 가져옵니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
ReadOnly Property IsActiveEndGreater As Boolean
    Get
bool IsActiveEndGreater { get; }
property bool IsActiveEndGreater {
    bool get ();
}
abstract IsActiveEndGreater : bool
function get IsActiveEndGreater () : boolean

속성 값

형식: System.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 네임스페이스