Class
ReplaceOptions

Configures text replacement operations in worksheets, combining find criteria with replacement text.

Definition

Constructors

ReplaceOptions()

Initializes a new ReplaceOptions with default find and replace settings.

Declaration

cs-api-definition
public ReplaceOptions()

Properties

ReplaceWith

Gets or sets the replacement text that will substitute matched occurrences.

Declaration

cs-api-definition
public string ReplaceWith { get; set; }

Property Value

string

The value to replace with.

Methods

CopyPropertiesFrom(ReplaceOptions)

Copies all find and replace settings from another ReplaceOptions instance to this one.

Declaration

cs-api-definition
public void CopyPropertiesFrom(ReplaceOptions options)

Parameters

options

ReplaceOptions

The options.

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides FindOptions.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides FindOptions.GetHashCode()