OperationParameterInfoCollection.IList<OperationParameterInfo>.IndexOf(OperationParameterInfo) 方法

定义

确定 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);
abstract member System.Collections.Generic.IList<System.Workflow.Activities.OperationParameterInfo>.IndexOf : System.Workflow.Activities.OperationParameterInfo -> int
override this.System.Collections.Generic.IList<System.Workflow.Activities.OperationParameterInfo>.IndexOf : System.Workflow.Activities.OperationParameterInfo -> int
Function IndexOf (item As OperationParameterInfo) As Integer Implements IList(Of OperationParameterInfo).IndexOf

参数

item
OperationParameterInfo

要在 IList<T> 中定位的对象。The object to locate in the IList<T>.

返回

Int32

如果在列表中找到,则为 item 的索引;否则为 -1。The index of item if found in the list; otherwise, -1.

实现

适用于