Share via


RelationshipEndAttributeCollection.IndexOf Method (RelationshipEndAttribute)

Reports the index of the first occurrence of the specified string in this instance.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As RelationshipEndAttribute _
) As Integer
'Usage
Dim instance As RelationshipEndAttributeCollection 
Dim item As RelationshipEndAttribute 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    RelationshipEndAttribute item
)
public:
int IndexOf(
    RelationshipEndAttribute^ item
)
member IndexOf : 
        item:RelationshipEndAttribute -> int
public function IndexOf(
    item : RelationshipEndAttribute
) : int

Parameters

Return Value

Type: System.Int32
The index of the first occurrence of the specified string in this attribute collection.

See Also

Reference

RelationshipEndAttributeCollection Class

IndexOf Overload

Microsoft.AnalysisServices Namespace