Keysight 89600 VSA .NET API
Remove(Mode) Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Keysight.SA.Vsa Namespace > ModeCollection Class > Remove Method : Remove(Mode) Method


item
Mode to remove from the collection.

Glossary Item Box

Remove a Mode from the collection.

Syntax

Visual Basic (Declaration) 
Public Overloads MustOverride Function Remove( _
   ByVal item As Mode _
) As Boolean
C# 
public abstract bool Remove( 
   Mode item
)
C++/CLI 
public:
abstract bool Remove( 
   Mode^ item
) 

Parameters

item
Mode to remove from the collection.

Return Value

True, if the Mode was removed from the collection.

Exceptions

ExceptionDescription
System.InvalidOperationExceptionThrown when this is the last Mode of a type that a measurement still requires.

Remarks

When another Mode of the same configuration type remains, measurements associated with item are reassociated to that remaining Mode. Removing the last Mode of a type that a measurement still requires throws System.InvalidOperationException.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also