NumericUpDownAccelerationCollection.Remove(NumericUpDownAcceleration) 方法

定义

NumericUpDownAcceleration 中移除指定的 NumericUpDownAccelerationCollection 的第一个匹配项。Removes the first occurrence of the specified NumericUpDownAcceleration from the NumericUpDownAccelerationCollection.

public:
 virtual bool Remove(System::Windows::Forms::NumericUpDownAcceleration ^ acceleration);
public bool Remove (System.Windows.Forms.NumericUpDownAcceleration acceleration);
abstract member Remove : System.Windows.Forms.NumericUpDownAcceleration -> bool
override this.Remove : System.Windows.Forms.NumericUpDownAcceleration -> bool
Public Function Remove (acceleration As NumericUpDownAcceleration) As Boolean

参数

acceleration
NumericUpDownAcceleration

要从该集合中移除的 NumericUpDownAccelerationThe NumericUpDownAcceleration to remove from the collection.

返回

Boolean

如果 NumericUpDownAcceleration 已从 NumericUpDownAccelerationCollection 中移除,为 true;否则为 falsetrue if the NumericUpDownAcceleration is removed from NumericUpDownAccelerationCollection; otherwise, false.

实现

适用于