| KM_ControllerGetCommandValueT Method |
Returns the value of a WriteLineReadLine(), converted to the requested type
Namespace: KMotion_dotNetAssembly: KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax public T GetCommandValue<T>(
string command,
bool throwexception
)
Public Function GetCommandValue(Of T) (
command As String,
throwexception As Boolean
) As T
public:
generic<typename T>
T GetCommandValue(
String^ command,
bool throwexception
)
Parameters
- command String
- Console script statement
- throwexception Boolean
- flag determine whether or not to throw an exception
Type Parameters
- T
- System.Type to convert return value to
Return Value
Tthe returned string value of the command converted to the requested type
See Also