Removes the first occurrence of a specific observation from the variable.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Remove ( _ item As DateTime _ ) As Boolean |
| C# |
|---|
public bool Remove ( DateTime item ) |
| C++ |
|---|
public: virtual bool Remove ( DateTime item ) sealed |
Parameters
- item (System.DateTime)
- The observation to remove from the NumericalVariable.
Return Value
true if item was successfully removed from the varibable; otherwise, false. This method also returns false if item is not found in the original variable.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The variable is contained in a VariableCollection. |