[]
Gets or sets the search format.
Returns the IDisplayFormat used to match cell formatting during a find operation.
The default value is null.
public IDisplayFormat SearchFormat { get; set; }
Public Property SearchFormat As IDisplayFormat
worksheet.Range["A1"].Value = 100;
worksheet.Range["A1"].NumberFormat = "$0.00";
FindOptions options = new FindOptions();
options.SearchFormat = worksheet.Range["A1"].DisplayFormat;
IDisplayFormat searchFormat = options.SearchFormat;