Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ContentObject Class / GetPersistentRange Method

In This Topic
    GetPersistentRange Method (ContentObject)
    In This Topic
    Creates and returns a PersistentRange associated with this content object.

    Unlike the Range returned by GetRange, this persistent range and any markers on it (see Start and End) can still be used if the object is deleted.

    Note that PersistentRange should be disposed when no longer needed to improve performance.

    Syntax
    'Declaration
     
    Public Function GetPersistentRange() As PersistentRange
    public PersistentRange GetPersistentRange()

    Return Value

    A new PersistentRange instance associated with this content object.
    See Also