Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / RangeBase Class / GetPersistentRange Method / GetPersistentRange(Marker,Marker) Method
The marker where to start the range.
The marker where to end the range.

In This Topic
    GetPersistentRange(Marker,Marker) Method
    In This Topic
    Creates and returns an instance of PersistentRange with bounds on the specified markers.

    You should dispose the PersistentRange returned by this method when it is no longer needed. Failing to do so may lead to degraded performance.

    Syntax
    'Declaration
     
    Public Overloads Function GetPersistentRange( _
       ByVal start As Marker, _
       ByVal end As Marker _
    ) As PersistentRange
    public PersistentRange GetPersistentRange( 
       Marker start,
       Marker end
    )

    Parameters

    start
    The marker where to start the range.
    end
    The marker where to end the range.

    Return Value

    The newly created instance of PersistentRange.
    See Also