Determines whether the collection of specified text ranges is empty.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static bool IsEmpty(
	this Collection<TextRange> ranges
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsEmpty ( _
	ranges As Collection(Of TextRange) _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool IsEmpty(
	Collection<TextRange^>^ ranges
)

Parameters

ranges
Type: System.Collections.ObjectModel..::..Collection<(Of <(<'TextRange>)>)>
The ranges.

Return Value

true if the specified ranges is empty; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Collection<(Of <(<'TextRange>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also