确定起点和终点是否位于同一位置。
命名空间: Microsoft.VisualStudio.Text
程序集: Microsoft.VisualStudio.Text.Logic(在 Microsoft.VisualStudio.Text.Logic.dll 中)
语法
声明
Public ReadOnly Property IsEmpty As Boolean
public bool IsEmpty { get; }
public:
property bool IsEmpty {
bool get ();
}
member IsEmpty : bool with get
function get IsEmpty () : boolean
属性值
类型:Boolean
true ,如果范围为空,则 false。
备注
由于起点和终点可以在虚拟空间,非虚拟范围这对应于可为非空,同时此属性返回 true。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。