Share via


IModelMultiRelationship.IndexOf Method (IModelElement, 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 IModelElement, _
    startIndex As Integer _
) As Integer
int IndexOf(
    IModelElement element,
    int startIndex
)
int IndexOf(
    IModelElement^ element, 
    int startIndex
)
abstract IndexOf : 
        element:IModelElement * 
        startIndex:int -> int 
function IndexOf(
    element : IModelElement, 
    startIndex : int
) : int

Parameters

  • startIndex
    Type: System.Int32
    Specifies the starting index.

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IModelMultiRelationship Interface

IndexOf Overload

Microsoft.Data.Schema.SchemaModel Namespace