RangeUnlinkFields Method
Unlinks fields in this range.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 20.1
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 + "Field.UnlinkFields.docx");

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

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