Class DataTypeMember
- Namespace
- L5Sharp.Components
- Assembly
- L5Sharp.dll
A component of the DataType that makes up the structure of the user defined type.
public class DataTypeMember : LogixComponent<DataTypeMember>, ILogixSerializable
- Inheritance
-
DataTypeMember
- Implements
- Inherited Members
Constructors
DataTypeMember()
Creates a new DataTypeMember with default values.
public DataTypeMember()
DataTypeMember(XElement)
Creates a new DataTypeMember initialized with the provided XElement.
public DataTypeMember(XElement element)
Parameters
Exceptions
- ArgumentNullException
element
is null.
Properties
BitNumber
The bit number of the hidden member that this boolean member maps to or is backed by.
public int? BitNumber { get; set; }
Property Value
- int?
A zero-based integer representing the backing bit of the hidden member which corresponds to this member.
null
if the attribute does not exist for the underlying element
DataType
The name of the data type of the member.
public string DataType { get; set; }
Property Value
- string
A string containing the data type name of the member. Default is Empty. Valid value is required for valid import.
Dimension
The array dimension of the member.
public Dimensions? Dimension { get; set; }
Property Value
- Dimensions
A Dimensions representing the array dimensions of the member.
ExternalAccess
The external access of the member.
public ExternalAccess? ExternalAccess { get; set; }
Property Value
- ExternalAccess
A ExternalAccess representing read/write access of the member.
Hidden
An flag indicating whether the member is a hidden backing member for another boolean member of the data type.
public bool? Hidden { get; set; }
Property Value
- bool?
true
if member is a hidden member of the type,false
if not, andnull
if the attribute does not exist for the underlying element.
Radix
The radix value format of the member.
public Radix? Radix { get; set; }
Property Value
Target
The name of the hidden member that is the backing member for this data type member.
public string? Target { get; set; }