Class LocalTag
- Namespace
- L5Sharp.Components
- Assembly
- L5Sharp.dll
A Tag derivative that is a component of a AddOnInstruction component.
public class LocalTag : Tag, ILogixSerializable
- Inheritance
-
LocalTag
- Implements
- Inherited Members
Remarks
This class doesn't add any new functionality. It is only necessary to solve the issue of tags in an AOI having a different "Type Name" (element name). Since LogixContainer<TElement> queries and adds items using the component specific type name, we need a way to override "Tag" to "LocalTag", and we can easily achieve this using a derived type. This would also allow this type to be queried specifically across the L5X.
Constructors
LocalTag()
Creates a new LocalTag with default values.
public LocalTag()
LocalTag(XElement)
public LocalTag(XElement element)
Parameters
Exceptions
- ArgumentNullException
element
is null.