Метод IndexOf (ReportParameter)
Gets the index of a specified ReportParameter.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function IndexOf ( _
item As ReportParameter _
) As Integer
'Применение
Dim instance As ReportParameterCollection
Dim item As ReportParameter
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
ReportParameter item
)
public:
int IndexOf(
ReportParameter^ item
)
member IndexOf :
item:ReportParameter -> int
public function IndexOf(
item : ReportParameter
) : int
Параметры
- item
Тип: Microsoft.AnalysisServices. . :: . .ReportParameter
The ReportParameter to be returned.
Возвращаемое значение
Тип: System. . :: . .Int32
The zero-based index of the ReportParameter if the object is found; otherwise, -1.