Table of Contents

ExcelFile.FindObject Method

Returns the object index for an existing name. Whenever possible you should prefer to use FindObjectPath instead of this method, since it is faster and finds also objects that are not in the root branch.

Syntax

Namespace: FlexCel.Core

public Int32 FindObject(String objectName)

Parameters

<-> Parameter Type Description
objectName String Object name to search for. This is case insensitive.

Returns

-1 if the object is not found, or the object index otherwise.

See also