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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.