Keysight 89600 VSA .NET API
Clear Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Keysight.SA.Vsa Namespace > ModeCollection Class : Clear Method


Glossary Item Box

Remove all items from this collection.

Syntax

Visual Basic (Declaration) 
Public MustOverride Sub Clear() 
C# 
public abstract void Clear()
C++/CLI 
public:
abstract void Clear(); 

Exceptions

ExceptionDescription
System.InvalidOperationException Thrown when a measurement still requires a Mode.

Remarks

Measurements that do not require a Mode are dissociated before the collection is cleared. The collection cannot be cleared while any measurement still requires a Mode; change that measurement's type, or remove the measurement, before clearing.

Requirements

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

See Also