OperationParameterInfoCollection.ICollection<OperationParameterInfo>.Remove(OperationParameterInfo) 方法

定义

ICollection<T> 中移除特定对象的第一个匹配项。Removes the first occurrence of a specific object from the ICollection<T>.

 virtual bool System.Collections.Generic.ICollection<System.Workflow.Activities.OperationParameterInfo>.Remove(System::Workflow::Activities::OperationParameterInfo ^ item) = System::Collections::Generic::ICollection<System::Workflow::Activities::OperationParameterInfo ^>::Remove;
bool ICollection<OperationParameterInfo>.Remove (System.Workflow.Activities.OperationParameterInfo item);
abstract member System.Collections.Generic.ICollection<System.Workflow.Activities.OperationParameterInfo>.Remove : System.Workflow.Activities.OperationParameterInfo -> bool
override this.System.Collections.Generic.ICollection<System.Workflow.Activities.OperationParameterInfo>.Remove : System.Workflow.Activities.OperationParameterInfo -> bool
Function Remove (item As OperationParameterInfo) As Boolean Implements ICollection(Of OperationParameterInfo).Remove

参数

item
OperationParameterInfo

要从 ICollection<T> 中删除的对象。The object to remove from the ICollection<T>.

返回

Boolean

如果从 true 中成功移除 item,则为 ICollection<T>;否则为 falsetrue if item was successfully removed from the ICollection<T>; otherwise, false. 如果在原始 false 中没有找到 item,该方法也会返回 ICollection<T>This method also returns false if item is not found in the original ICollection<T>.

实现

适用于