'Declaration<NotNullAttribute()> Function DecodeInDataTypeDefinitionModel( _ ByVal dataTypeInfo As UADataTypeInfo, _ ByVal objectBody As Object, _ ByVal endpointDescriptor As UAEndpointDescriptor, _ ByVal serverTables As IUAServerTables, _ ByVal fixedLayout As Boolean _ ) As ValueResult(Of GenericData)
'UsageDim instance As IUADataTypeSystem Dim dataTypeInfo As UADataTypeInfo Dim objectBody As Object Dim endpointDescriptor As UAEndpointDescriptor Dim serverTables As IUAServerTables Dim fixedLayout As Boolean Dim value As ValueResult(Of GenericData) value = instance.DecodeInDataTypeDefinitionModel(dataTypeInfo, objectBody, endpointDescriptor, serverTables, fixedLayout)
[NotNull()] ValueResult<GenericData> DecodeInDataTypeDefinitionModel( UADataTypeInfo dataTypeInfo, object objectBody, UAEndpointDescriptor endpointDescriptor, IUAServerTables serverTables, bool fixedLayout )
[NotNull()] ValueResult<GenericData^>^ DecodeInDataTypeDefinitionModel( UADataTypeInfo^ dataTypeInfo, Object^ objectBody, UAEndpointDescriptor^ endpointDescriptor, IUAServerTables^ serverTables, bool fixedLayout )
Parameters
- dataTypeInfo
- Information about an OPC UA data type.
- objectBody
- An object body to be decoded.
- 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 decoded generic data, or a failure.