'Declaration<NotNullAttribute()> Function EncodeInDataTypeDefinitionModel( _ ByVal dataTypeInfo As UADataTypeInfo, _ ByVal genericData As GenericData, _ ByVal endpointDescriptor As UAEndpointDescriptor, _ ByVal serverTables As IUAServerTables, _ ByVal fixedLayout As Boolean _ ) As ValueResult
'UsageDim instance As IUADataTypeSystem Dim dataTypeInfo As UADataTypeInfo Dim genericData As GenericData Dim endpointDescriptor As UAEndpointDescriptor Dim serverTables As IUAServerTables Dim fixedLayout As Boolean Dim value As ValueResult value = instance.EncodeInDataTypeDefinitionModel(dataTypeInfo, genericData, endpointDescriptor, serverTables, fixedLayout)
[NotNull()] ValueResult EncodeInDataTypeDefinitionModel( UADataTypeInfo dataTypeInfo, GenericData genericData, UAEndpointDescriptor endpointDescriptor, IUAServerTables serverTables, bool fixedLayout )
[NotNull()] ValueResult^ EncodeInDataTypeDefinitionModel( UADataTypeInfo^ dataTypeInfo, GenericData^ genericData, UAEndpointDescriptor^ endpointDescriptor, IUAServerTables^ serverTables, bool fixedLayout )
Parameters
- dataTypeInfo
- Information about an OPC UA data type.
- genericData
- The generic data to be encoded.
- endpointDescriptor
- Endpoint descriptor of the OPC UA server where the data resides.
- serverTables
- Provides access to OPC UA server tables.
- fixedLayout
- Determines whether the encoding layout is fixed.
Return Value
A value result: A success with the encoded object body, or a failure.