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

'Déclaration
ReadOnly Property Length As Integer
    Get
int Length { get; }
property int Length {
    int get ();
}
abstract Length : int
function get Length () : int

Property Value

Type: System.Int32
The number of characters.

.NET Framework Security

See Also

Reference

ITextSnapshot Interface

Microsoft.VisualStudio.Text Namespace