Click or drag to resize

BufferDataConverterContextProvider Class

Used by BufferDataConverter, this class provides the context of a conversion, and is its own context provider.
Inheritance Hierarchy
SystemObject
  Demo3D.PLC.CommsBufferDataConverterContext
    Demo3D.PLC.CommsBufferDataConverterContextProvider

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public class BufferDataConverterContextProvider : BufferDataConverterContext, 
	IDataContextProvider

The BufferDataConverterContextProvider type exposes the following members.

Constructors
  NameDescription
Public methodBufferDataConverterContextProvider
Constructs a context for marshalling/unmarshalling data to/from an array of bytes.
Top
Properties
  NameDescription
Public propertyAddress
Optionally, the address of the tag in PLC memory (or null). AddressArea provides the specific subrange within the address.
(Inherited from BufferDataConverterContext.)
Public propertyAddressArea
The area of memory being addressed by this buffer. Specifically, this is used to marshal booleans into the correct bit in the buffer. Supercedes the area of Address (normally a subrange of the address).
(Inherited from BufferDataConverterContext.)
Public propertyBoolEncoding
The bit pattern of a boolean.
(Inherited from BufferDataConverterContext.)
Public propertyEndian
The endianess of the data. This is used to marshal data types larger than one byte.
(Inherited from BufferDataConverterContext.)
Public propertyString
A string representation of this context.
(Inherited from BufferDataConverterContext.)
Public propertyTextEncoding
The string encoding. This is used to marshal strings.
(Inherited from BufferDataConverterContext.)
Top
Methods
  NameDescription
Public methodToString
Returns a string representation of this context.
(Inherited from BufferDataConverterContext.)
Top
Extension Methods
See Also