Document Library for WinForms | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / C1TextRange Structure / Contains Method
The position to test.

In This Topic
    Contains Method (C1TextRange)
    In This Topic
    Tests whether a specified position is contained within the current range.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal position As Integer _
    ) As Boolean
    public bool Contains( 
       int position
    )

    Parameters

    position
    The position to test.

    Return Value

    True if the current range includes the specified position, false otherwise.
    See Also