Keysight Pathwave 89600 VSA .NET API
Value(String,Double) Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > IStateDictionary Interface > Value Method : Value(String,Double) Method


key
The key name.
defaultValue
The value to return if there is no value in state for the specified key.

Glossary Item Box

Gets a double type value associated with a specified key.

Syntax

Visual Basic (Declaration) 
Overloads Function Value( _
   ByVal key As String, _
   ByVal defaultValue As Double _
) As Double
C# 
double Value( 
   string key,
   double defaultValue
)
C++/CLI 
double Value( 
   String^ key,
   double defaultValue
) 

Parameters

key
The key name.
defaultValue
The value to return if there is no value in state for the specified key.

Return Value

The value in state if it exists; otherwise the defaultValue.

Requirements

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

See Also