TextRangeExtensionsIsEmpty Method Document Toolkit Help
Determines whether the collection of specified text ranges is empty.

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

public static bool IsEmpty(
	this Collection<TextRange> ranges


Type: System.Collections.ObjectModelCollectionTextRange
The ranges.

Return Value

Type: Boolean
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 CollectionTextRange. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also