ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Vector Namespace / ImGearVectorData Class / FindEntityIndex Method
ID of the entity to find.
Start index in the internal container.




In This Topic
    FindEntityIndex Method
    In This Topic
    Looks for an entity with the specified ID.
    Syntax
    'Declaration
     
    Public Function FindEntityIndex( _
       ByVal entityId As String, _
       ByVal startIndex As Integer _
    ) As Integer
    'Usage
     
    Dim instance As ImGearVectorData
    Dim entityId As String
    Dim startIndex As Integer
    Dim value As Integer
     
    value = instance.FindEntityIndex(entityId, startIndex)
    public int FindEntityIndex( 
       string entityId,
       int startIndex
    )
    public: int FindEntityIndex( 
       string* entityId,
       int startIndex
    ) 
    public:
    int FindEntityIndex( 
       String^ entityId,
       int startIndex
    ) 

    Parameters

    entityId
    ID of the entity to find.
    startIndex
    Start index in the internal container.

    Return Value

    Index of the entity found, or -1 if no entity could be found.
    See Also