RfsgDriverUtility.ResetAttribute Method (String, PropertyInfo)
- Updated2024-05-08
- 1 minute(s) read
RfsgDriverUtilityResetAttribute Method (String, PropertyInfo)
Resets the channel specific property to its default value.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022
Syntax
public void ResetAttribute( string channelName, PropertyInfo propertyToReset )
Public Sub ResetAttribute ( channelName As String, propertyToReset As PropertyInfo )
Parameters
- channelName
- Type: SystemString
Specifies the channel name of the channel specific property. - propertyToReset
- Type: System.ReflectionPropertyInfo
Specifies the property to be reset.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The ResetAttribute(PropertyInfo) method was accessed after the associated NIRfsg object was disposed. |