RangeUnlinkFields Method

Unlinks fields in this range.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public void UnlinkFields()
Remarks

Replaces all the fields in this range with their most recent results.

To unlink fields in the whole document use UnlinkFields.

Examples
Shows how to unlink all fields in range.
Document doc = new Document(MyDir + "Linked fields.docx");

Section newSection = (Section)doc.Sections[0].Clone(true);
doc.Sections.Add(newSection);

doc.Sections[1].Range.UnlinkFields();
See Also