[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ContentObject.GetPersistentRange

GetPersistentRange Method

GetPersistentRange()

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.

Declaration
public PersistentRange GetPersistentRange()
Public Function GetPersistentRange() As PersistentRange
Returns
Type Description
PersistentRange

A new PersistentRange instance associated with this content object.