VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor Namespace / OpenXmlDocumentElementCollection<T> Class / IndexOf(T) Method
Syntax Requirements SeeAlso
In This Topic
    IndexOf(T) Method (OpenXmlDocumentElementCollection<T>)
    In This Topic
    Determines the index of a specific item in the collection.
    Syntax
    'Declaration
    
    Public Function IndexOf( _
    ByVal item
    The object to locate in the collection.
    As T _
    ) As System.Int32
    public System.Int32 IndexOf(
    T item
    )
    public: System.Int32 IndexOf(
    T* item
    )
    public:
    System.Int32 IndexOf(
    T^ item
    )

    Parameters

    item
    The object to locate in the collection.

    Return Value

    The index of item if item is found in the list; otherwise, -1.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also