Version

Clone Method (FormattedString)

Creates a new FormattedString that is a copy of this one.
Syntax
public FormattedString Clone()

Return Value

A new FormattedString that is a copy of this one.
Remarks

This should be used if the same formatted string needs to be used in multiple cells. The FormattedString class can only exist as the WorksheetCell.Value of one cell at a time. If the FormattedString is already the value of a cell, and needs to be set as the value of another cell, clone the FormattedString and set the returned clone as value of the cell.

The cloned FormattedString only takes its original configuration for this instance. If this instance is cloned and than changed, the clone will not be changed as well; it will remain as it was when it was cloned.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also