Click or drag to resize

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
Syntax
C#
public 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: Boolean
True if the symbol was found.
See Also