BufferDataConverterCanConvertTo Method |
Returns whether this converter can convert an object to the specified type.
Namespace:
Demo3D.PLC.Comms
Assembly:
PLC (in PLC.dll) Version: 14.0.0.10531
Syntaxpublic override bool CanConvertTo(
IDataContextProvider? contextProvider,
DataType destinationType,
DataType sourceType
)
Parameters
- contextProvider
- Type: Demo3D.PLC.CommsIDataContextProvider
Conversion context provider (or null). - destinationType
- Type: Demo3D.PLC.CommsDataType
The data type to be converted to. - sourceType
- Type: Demo3D.PLC.CommsDataType
The data type to convert from.
Return Value
Type:
BooleanTrue is this converter can perform the conversion.
Remarks
The contextProvider must provide an object of type BufferDataConverterContext.
This context tells the marashaller the endianess of the data, string format, and the area of memory being
addressed.
See Also