Partager via


ITextSnapshot.Length Property

Gets the number of UTF-16 characters in the snapshot.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

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

Property Value

Type: Int32
The number of characters.

.NET Framework Security

See Also

Reference

ITextSnapshot Interface

Microsoft.VisualStudio.Text Namespace