ITextSnapshot.Length 属性

获取 UTF-16 快照中的字符数。

命名空间:  Microsoft.VisualStudio.Text
程序集:  Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)

语法

声明
ReadOnly Property Length As Integer
int Length { get; }
property int Length {
    int get ();
}
abstract Length : int with get
function get Length () : int

属性值

类型:Int32
字符数目。

.NET Framework 安全性

请参阅

参考

ITextSnapshot 接口

Microsoft.VisualStudio.Text 命名空间