Unlink

Performs the field unlink.

public bool Unlink()

Return Value

true if the field has been unlinked, otherwise false.

Remarks

Replaces the field with its most recent result.

Some fields, such as XE (Index Entry) fields and SEQ (Sequence) fields, cannot be unlinked.

Examples

Shows how to unlink a field.

Document doc = new Document(MyDir + "Linked fields.docx");
doc.Range.Fields[1].Unlink();

See Also