ParameterValueLookUpGetCriteriaString Method
Namespace: Peak.Can.BasicAssembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
public static string GetCriteriaString(
PcanDevice? deviceType,
uint? deviceId,
uint? controllerNumber,
string ipAddress,
string deviceGuid
)
Public Shared Function GetCriteriaString (
deviceType As PcanDevice?,
deviceId As UInteger?,
controllerNumber As UInteger?,
ipAddress As String,
deviceGuid As String
) As String
public:
static String^ GetCriteriaString(
Nullable<PcanDevice> deviceType,
Nullable<unsigned int> deviceId,
Nullable<unsigned int> controllerNumber,
String^ ipAddress,
String^ deviceGuid
)
- deviceType NullablePcanDevice
- The type of device to match. It should be set to null in case the device type is not wanted as search criteria.
- deviceId NullableUInt32
- The device ID to match. It should be set to null in case the device ID is not wanted as search criteria.
- controllerNumber NullableUInt32
- The controller number to match. It should be set to null in case the controller number is not wanted as search criteria.
- ipAddress String
- The IP address to match. It should be set to null in case the IP address is not wanted as search criteria.
- deviceGuid String
- The global unique identifier (GUID) to match. It should be set to null in case the GUID is not wanted as search criteria.
StringA formatted string containing the search parameters.
To see an example of this method, please refer to the example of the LookUpChannel method.
| PcanBasicException | The current operation ended with an unexpected result. Check the inner exception for more information. |