TextSelection.IsActiveEndGreater プロパティ

更新 : 2007 年 11 月

アクティブ ポイントが下部ポイントかどうかを示す値を取得します。

名前空間 :  EnvDTE
アセンブリ :  EnvDTE (EnvDTE.dll 内)

構文

'宣言
ReadOnly Property IsActiveEndGreater As Boolean
'使用
Dim instance As TextSelection
Dim value As Boolean

value = instance.IsActiveEndGreater
bool IsActiveEndGreater { get; }
property bool IsActiveEndGreater {
    bool get ();
}
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

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

TextSelection インターフェイス

TextSelection メンバ

EnvDTE 名前空間