T
Type for the supported values (normally the same as the type of the corresponding property they are for).
Keysight Pathwave 89600 VSA .NET API
SupportedValues<T> Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > IPropertyInfo2 Interface : SupportedValues<T> Method


propertyName
Name of the property to get supported values for.

Glossary Item Box

Gets a list of supported values for the specified property on the current object. Typically only values in this list will be shown in a GUI (can think of this as visible values). ValidValues should be a subset of this (only the values in ValidValues will be selectable even though other values can be shown). This is typically used for enumeration types of properties. Supported values usually are ones where the current license options, hardware, or hardware channel configuration support them even though they might not be currently selectable (there is some state that will enable them).

Syntax

Visual Basic (Declaration) 
Function SupportedValues(Of T)( _
   ByVal propertyName As String _
) As T()
C# 
T[] SupportedValues<T>( 
   string propertyName
)
C++/CLI 
array<T^>^ SupportedValuesgeneric<typename T>
( 
   String^ propertyName
) 

Parameters

propertyName
Name of the property to get supported values for.

Type Parameters

T
Type for the supported values (normally the same as the type of the corresponding property they are for).

Return Value

Array of supported values. May return null or an empty array for non-enumeration types of properties or if all enumeration values are supported.

Remarks

The array returned from ValidValues must be a subset of what is returned from this method.

Requirements

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

See Also