[]
        
(Showing Draft Content)

C1.C1Preview.RenderObjectCollection.IndexOfName

IndexOfName Method

IndexOfName(string)

Searches the current collection for an object with the specified Name.

Declaration
public int IndexOfName(string name)
Parameters
Type Name Description
string name

The name to search for.

Returns
Type Description
int

Index of the object in the current collection, or -1 if no object was found.