Keysight Pathwave 89600 VSA .NET API
Item Property
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > StateDictionary Class : Item Property


key
The key.

Glossary Item Box

Returns the value associated with the specified key.

Syntax

Visual Basic (Declaration) 
Public MustOverride Default Property Item( _
   ByVal key As String _
) As Object
C# 
public abstract object this[ 
   string key
]; {get; set;}
C++/CLI 
public:
abstract property Object^ default [String^] {
   Object^ get(String^ key);
   void set (String^ keyObject^ value);
}

Parameters

key
The key.

Property Value

The value.

Exceptions

ExceptionDescription
System.Collections.Generic.KeyNotFoundExceptionA KeyNotFoundException will be thrown if the specified key is not in the collection.

Remarks

Returns selected information about the MeasurementData. The returned Value is an object and may be a boolean, short, integer, float, double, string, or an array of numbers. For example, use this["TrcLedStr"] to get the trace indicator string (e.g. "CAL?") and use this[TrcLedReason"] to get the reason behind the indicator (e.g. "Calibration data is unavailable."). The available MeasurementData information is the same information as the saved Trace Data Header information. For more information and a list of the available trace data header variables, see the "Data Header Variables" topic in the "Shared Data with Other Applications" book of the online help.

Requirements

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

See Also