Share via


AdomdPropertyCollection.IndexOf Method

Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.

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

Syntax

'Declaration
Public Function IndexOf ( _
    value As AdomdProperty _
) As Integer
'Usage
Dim instance As AdomdPropertyCollection 
Dim value As AdomdProperty 
Dim returnValue As Integer 

returnValue = instance.IndexOf(value)
public int IndexOf(
    AdomdProperty value
)
public:
int IndexOf(
    AdomdProperty^ value
)
member IndexOf : 
        value:AdomdProperty -> int
public function IndexOf(
    value : AdomdProperty
) : int

Parameters

Return Value

Type: System.Int32
The index of value if found in the list; -1 otherwise.

See Also

Reference

AdomdPropertyCollection Class

Microsoft.AnalysisServices.AdomdClient Namespace