Tries to get the value of a watched attribute as a String.
Note: This method is supported for IC Server version 2016 R4 and beyond.
Namespace: ININ.IceLib.InteractionsAssembly: ININ.IceLib.Interactions (in ININ.IceLib.Interactions.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public bool TryGetWatchedStringAttribute(
string attributeName,
out string value
) |
Visual Basic |
---|
Public Function TryGetWatchedStringAttribute ( _
attributeName As String, _
<OutAttribute> ByRef value As String _
) As Boolean |
Parameters
- attributeName
- Type: System..::..String
The attribute name.
- value
- Type: System..::..String%
The attribute value.
Return Value
trueTruetruetrue (True in Visual Basic) if the attribute is being watched, and was successfully retrieved; otherwise,
falseFalsefalsefalse (False in Visual Basic).
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentNullException | An argument was nullNothingnullptra null reference (Nothing in Visual Basic). |
Version Information
Supported for IC Server version 2016 R4 and beyond.
See Also