SymbolContainerTryGetSymbol Method (String, SymbolBase, Boolean) |
Find a symbol by name.
Namespace:
Demo3D.PLC.Comms.CIP
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
Syntaxpublic bool TryGetSymbol(
string symbolName,
out SymbolBase?? symbol,
bool caseInsensitive = false
)
Parameters
- symbolName
- Type: SystemString
The symbol name to search for. - symbol
- Type: Demo3D.PLC.Comms.CIPSymbolBase
The symbol if found (or null). - caseInsensitive (Optional)
- Type: SystemBoolean
True for a case insensitive search (defaults to false).
Return Value
Type:
BooleanTrue if the symbol was found.
See Also