Method IsProtocolType
IsProtocolType(ProtocolType)
Checks the main type and advanced types if it matches the specified value.
public bool IsProtocolType(ProtocolType typeToCheck)
Parameters
typeToCheck
ProtocolTypeThe type to check (e.g. serial).
Returns
- bool
true
if the main type or one of the advanced types matches the specified value.