[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Expressions.WorkbookReference.Equals

Equals Method

Equals(object)

Checks whether this workbook reference is equal to another workbook reference.

This method returns true only when other is not null and its base directory, workbook name, base URI, and workbook ID are equal to those of the current instance.

Declaration
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
Type Name Description
object obj

The workbook reference to compare with this workbook reference. If obj is null, this method returns false.

Returns
Type Description
bool true if obj has the same base directory, workbook name, base URI, and workbook ID as this workbook reference; otherwise, false.
Overrides

Equals(WorkbookReference)

Check if the workbook reference equals to another.

Declaration
public bool Equals(WorkbookReference other)
Public Function Equals(other As WorkbookReference) As Boolean
Parameters
Type Name Description
WorkbookReference other

Another workbook reference.

Returns
Type Description
bool

true if the specified workbook reference is equal to the current reference; otherwise, false.

Implements