Back to Devexpress

DefinedNameCollection.IndexOf(DefinedName) Method

officefileapi-devexpress-dot-spreadsheet-dot-definednamecollection-dot-indexof-x28-devexpress-dot-spreadsheet-dot-definedname-x29.md

latest1.7 KB
Original Source

DefinedNameCollection.IndexOf(DefinedName) Method

Returns the position of the defined name in the collection.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int IndexOf(
    DefinedName item
)
vb
Function IndexOf(
    item As DefinedName
) As Integer

Parameters

NameTypeDescription
itemDefinedName

A DefinedName object to locate in the collection.

|

Returns

TypeDescription
Int32

A zero-based integer which specifies the defined name’s position within the collection. -1 if the defined name doesn’t belong to the collection.

|

See Also

Defined Names

DefinedNameCollection Interface

DefinedNameCollection Members

DevExpress.Spreadsheet Namespace