次の方法で共有


SnapshotSpan.Length Property

Gets the length of the span, which is always non-negative.

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

Syntax

'宣言
Public ReadOnly Property Length As Integer
    Get
public int Length { get; }
public:
property int Length {
    int get ();
}
member Length : int
function get Length () : int

Property Value

Type: System.Int32
The length of the span, which is always non-negative.

.NET Framework Security

See Also

Reference

SnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace