Visual Basic (Declaration) | |
---|---|
Public Function GetParameter( _ ByVal hwType As InstrumentType, _ ByVal name As String _ ) As Object |
C# | |
---|---|
public object GetParameter( InstrumentType hwType, string name ) |
C++/CLI | |
---|---|
public: Object^ GetParameter( InstrumentType hwType, String^ name ) |
Parameters
- hwType
- Which type of hardware within the HardwareGroup this parameter applies to.
- name
- The key name of the parameter.
Return Value
The value of the specified parameter.Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The hardware type is not InstrumentType.Adc. name is misspelled or not supported. |
Note: It is recommended to use the strongly typed methods and properties on sub-classes of this class instead of this method. See the specific Input Extension class for the hardware that is being used.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)