OperationParameterInfoCollection.IList<OperationParameterInfo>.IndexOf(OperationParameterInfo) OperationParameterInfoCollection.IList<OperationParameterInfo>.IndexOf(OperationParameterInfo) OperationParameterInfoCollection.IList<OperationParameterInfo>.IndexOf(OperationParameterInfo) Method

定義

判斷 IList<T> 中指定項目的索引。Determines the index of a specific item in the IList<T>.

 virtual int System.Collections.Generic.IList<System.Workflow.Activities.OperationParameterInfo>.IndexOf(System::Workflow::Activities::OperationParameterInfo ^ item) = System::Collections::Generic::IList<System::Workflow::Activities::OperationParameterInfo ^>::IndexOf;
int IList<OperationParameterInfo>.IndexOf (System.Workflow.Activities.OperationParameterInfo item);
Function IndexOf (item As OperationParameterInfo) As Integer Implements IList(Of OperationParameterInfo).IndexOf

參數

item
OperationParameterInfo OperationParameterInfo OperationParameterInfo

要在 IList<T> 中尋找的物件。The object to locate in the IList<T>.

傳回

如果可在清單中找到則為 item 的索引,否則為 -1。The index of item if found in the list; otherwise, -1.

實作

適用於