OpcDataObject Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Provides a generic and dynamically accessible representation of structured data types.

C#

public sealed class OpcDataObject : OpcData, IDynamicMetaObjectProvider


Inheritance ObjectOpcData › OpcDataObject


Implements IDynamicMetaObjectProvider

Name Description
OpcDataObject(OpcDataTypeInfo) Initializes a new instance of the OpcDataObject class using the type information of the dataType specified.
Name Description
TypeResolve Occurs when the resolution of a data type fails. Use this event to manually provide the Type to use for a specific data type definition identifier.
(Inherited from OpcData)
Name Description
DataStore Gets the IOpcDataStore which contains the data of this OpcData instance.
(Inherited from OpcData)
Item(String) Gets the field associated with the specified name.
Name Description
DeepCopy (Inherited from OpcData)
GetField(String) Searches for the field with the specified name.
GetFields Returns all the fields of the current OpcDataObject.
GetType(OpcNodeId) Retrieves the Type which implementes the data type which is identified by the typeId specified.
(Inherited from OpcData)
GetTypeInfo Gets the OpcDataTypeInfo of the current structured data type instance represented.
GetTypeInfo(OpcEncoding) Retrieves the OpcDataTypeInfo which declares the data type which is identified by the encoding specified.
(Inherited from OpcData)
GetTypeInfo(OpcNodeId) Retrieves the OpcDataTypeInfo which declares the data type which is identified by the typeId specified.
(Inherited from OpcData)
GetTypeInfo(Type) Retrieves the OpcDataTypeInfo which declares the data type implemented by the underlyingType specified.
(Inherited from OpcData)
GetTypeInfo``1 Retrieves the OpcDataTypeInfo which declares the data type implemented by the T specified.
(Inherited from OpcData)
HasField(String) Determines whether the current OpcDataObject provides a OpcDataField with the Name equals to the name specified.
New(OpcDataTypeInfo) Creates a new instance of the OpcDataObject class using the dataType specified.
(Inherited from OpcData)
NewArray(OpcDataTypeInfo, Int32) Creates a one-dimensional array of OpcDataObject objects using the dataType and length with zero-based indexing.
(Inherited from OpcData)
RegisterType(Type) Registers the dataType specified as the data object type to create in case there a data instance is to be created for the type definition identified by the OpcDataTypeAttribute defined on the dataType specified.
(Inherited from OpcData)
RegisterType(Type, OpcNodeId) Registers the dataType specified as the data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId specified.
(Inherited from OpcData)
RegisterType(Type, OpcNodeId, OpcEncoding) Registers the dataType specified as the data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId or by one of the dataTypeEncodings specified.
(Inherited from OpcData)
RegisterType``1 Registers the type defined by T as the data object type to create in case there a data instance is to be created for the type definition identified by the OpcDataTypeAttribute defined on the T specified.
(Inherited from OpcData)
RegisterType``1(OpcNodeId) Registers the type defined by T as the data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId specified.
(Inherited from OpcData)
RegisterType``1(OpcNodeId, OpcEncoding) Registers the type defined by T as the data object type to create in case there a data instance is to be created for the type definition identified by the dataTypeId or by one of the dataTypeEncodings specified.
(Inherited from OpcData)
RegisterTypes(Assembly) Registers all non-abstract types in the assembly specified which defines the OpcDataTypeAttribute.
(Inherited from OpcData)
RegisterTypes(IEnumerable) Registers the dataTypes specified as the data object type to create in case there a data instance is to be created for the type definitions identified by the OpcEventTypeAttribute used on one of the dataTypes specified.
(Inherited from OpcData)
RegisterTypes(Type, Type) Registers the dataType and the further specified dataTypes as the data object type to create in case there a data instance is to be created for the type definition identified by the OpcDataTypeAttribute used on the dataType or on one of the dataTypes specified.
(Inherited from OpcData)
ShallowCopy (Inherited from OpcData)
TryGetField(String, OpcDataField@) Searches for the field associated with the name specified.
UnregisterType``1 Unregisters the previously registered (see RegisterType´´1) type defined by T as the Object type to not longer create for the type definition identified by the OpcDataTypeAttribute defined on the T specified.
(Inherited from OpcData)
UnregisterType``1(OpcNodeId) Unregisters the previously registered (see RegisterType´´1(OpcNodeId)) type defined by T as the Object type to not longer create for the type definition identified by the dataTypeId specified.
(Inherited from OpcData)
UnregisterType``1(OpcNodeId, OpcEncoding) Unregisters the previously registered (see RegisterType´´1(OpcNodeId, OpcEncoding)) type defined by T as the Object type to not longer create for the type definition identified by the dataTypeId or by one of the dataTypeEncodings specified.
(Inherited from OpcData)
UnregisterTypes(Assembly) Unregisters all previously registered types (see RegisterTypes(Assembly)) in the assembly specified.
(Inherited from OpcData)
UnregisterTypes(IEnumerable) Unregisters the previously registered (see RegisterTypes(IEnumerable)) dataTypes specified.
(Inherited from OpcData)
UnregisterTypes(Type, Type) Unregisters the previously registered dataType and the further specified dataTypes (see RegisterTypes(Type, Type)).
(Inherited from OpcData)