Indicates whether the specified property is currently enabled (i.e. valid to use).
Syntax
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