Keysight Pathwave 89600 VSA .NET API
IsEnabled Method
See Also  Example
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > IPropertyInfo Interface : IsEnabled Method


propertyName
Name of the property.

Glossary Item Box

Indicates whether the specified property is currently enabled (i.e. valid to use).

Syntax

Visual Basic (Declaration) 
Function IsEnabled( _
   ByVal propertyName As String _
) As Boolean
C# 
bool IsEnabled( 
   string propertyName
)
C++/CLI 
bool IsEnabled( 
   String^ propertyName
) 

Parameters

propertyName
Name of the property.

Return Value

True/False indicating whether the specified property is currently enabled (valid to use).

Example

Determine whether the MixerLevel property is usable with the current hardware.
C#Copy Code
(app.Measurements.SelectedItem.Input.Analog as IPropertyInfo).IsEnabled("MixerLevel");

Requirements

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

See Also