Méthode AdomdParameterCollection.IndexOf (String)
Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Espace de noms : Microsoft.AnalysisServices.AdomdServer
Assembly : msmgdsrv (en msmgdsrv.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
As String _
) As Integer
'Utilisation
Dim instance As AdomdParameterCollection
DimAs String
Dim returnValue As Integer
returnValue = instance.IndexOf()
public int IndexOf(
string
)
public:
virtual int IndexOf(
String^
) sealed
abstract IndexOf :
:string -> int
override IndexOf :
:string -> int
public final function IndexOf(
: String
) : int
Paramètres
- __unnamed0
Type : System.String
The name of the AdomdParameter object to locate in the AdomdParameterCollection collection.
Valeur de retour
Type : System.Int32
The index of value if found in the list. Otherwise, it returns -1.
Implémente
IDataParameterCollection.IndexOf(String)