Checks whether a position (specified by a TextPointer) is located within the current range.

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

Syntax

C#
public bool Contains(
	TextPointer p
)
Visual Basic
Public Function Contains ( _
	p As TextPointer _
) As Boolean
Visual C++
public:
bool Contains(
	TextPointer^ p
)

Parameters

p
Type: FirstFloor.Documents..::..TextPointer
The position.

Return Value

true if the position is located within the range; otherwise, false.

See Also