IModelMultiRelationship<TFrom, TTo>.IndexOf Method (TTo, Int32)

Reports the index of the first occurrence of the relationship entry based on a specified element.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Function IndexOf ( _
    element As TTo, _
    startIndex As Integer _
) As Integer
int IndexOf(
    TTo element,
    int startIndex
)
int IndexOf(
    TTo element, 
    int startIndex
)
abstract IndexOf : 
        element:'TTo * 
        startIndex:int -> int 
function IndexOf(
    element : TTo, 
    startIndex : int
) : int

Parameters

  • element
    Type: TTo
    Specifies the element to be searched
  • startIndex
    Type: System.Int32
    Specifies the starting index

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IModelMultiRelationship<TFrom, TTo> Interface

IndexOf Overload

Microsoft.Data.Schema.SchemaModel Namespace