Skip to content

Reference

OpcDataTypeInfo Class

Represents type declarations used for data types.

Reference

OpcDataTypeInfo Class ​

abstract · since v2.8

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcDataTypeInfo Members
Also in
Opc.UaFx.Client

Represents type declarations used for data types.

Syntax ​

csharp
public abstract class OpcDataTypeInfo
vbnet
Public MustInherit Class OpcDataTypeInfo

Inheritance ​

Object → OpcDataTypeInfo

Implements ​

Properties ​

NameDescription
BaseTypevirtualGets the type from which the current OpcDataTypeInfo directly inherits.
ByteOrdervirtualGets the byte order of the data represented by the type.
CategoryGets the category the IOpcType falls within.
CustomAttributesvirtualGets an array of custom attributes associated with this type.
Declarationsvirtual · since v2.26Gets a value indicating the ways used to declare the data type represented.
Documentationvirtual · since v2.9Gets any semantic information that would help a human to understand what the type represents.
EmptystaticGets the type to use if their is no specific type data available.
EncodingGets the information used to identify the type of encoding used for the data of the type represented.
EncodingMaskvirtualGets the characteristics used to encode the existence of optional fields.
EncodingsvirtualGets information of all encodings supported by the type represented.
IsArrayvirtualGets a value indicating whether the type is an array.
IsEmptyvirtualGets a value indicating whether the current OpcDataTypeInfo represents a type to use if there is no specific type described.
IsEnumvirtualGets a value indicating whether the current OpcDataTypeInfo represents an enumeration.
IsOpaquevirtualGets a value indicating whether the current OpcDataTypeInfo describes a primitive fixed size type.
IsPrimitivevirtualGets a value indicating whether the OpcDataTypeInfo is one of the primitive types.
IsStructvirtualGets a value indicating whether the OpcDataTypeInfo is a structured type; that is not a value type.
IsSystemTypevirtualGets a value indicating whether the current OpcDataTypeInfo represents one of the predefined built-in data types defined by the OPC UA.
IsUnionvirtual · since v2.32Gets a value indicating whether the current OpcDataTypeInfo represents a type which is only transported using a field indicator and the field indicated.
IsUnknownvirtualGets a value indicating whether the OpcDataTypeInfo acts as a placeholder for a referenced type its type declaration could not resolved.
NameGets a value which defines the non-localizable human-readable name of the type represented.
SizevirtualGets the size of the type represented as the number of bytes required.
SizeInBitsvirtualGets the size of the type represented as the number of bits required.
TypeDictionaryGets the the OpcDataTypeDictionary which conains the data type declaration represented.
TypeIdGets a value which identifies the type represented.
UnderlyingTypeGets the type which provides the implementation of the OpcDataTypeInfo.
XmlNameGets the Name of this OpcDataTypeInfo qualified with the XmlNamespace of the TypeDictionary which conains the data type declaration represented.

Methods ​

NameDescription
GetArrayRankvirtualGets the number of dimensions in an array.
GetElementTypevirtualReturns the OpcDataTypeInfo of the object encompassed or referred to by the current array.
GetFieldSearches for the field with the specified name.
GetFieldsReturns all the fields of the current OpcDataTypeInfo.
GetFieldsCoreprotected · virtualWhen overriden in a derived class, searches for the fields defined for the current OpcDataTypeInfo.
GetUnderlyingTypeprotected · virtualRetrieves the Type which provides the implementation of the OpcDataTypeInfo.
GetXmlNamestatic · 3 overloadsRetrieves the XmlQualifiedName for the name and xmlNamespace specified.
MakeArrayType2 overloadsReturns a OpcDataTypeInfo object representing a one-dimensional array of the current type, with a lower bound of zero.
ToStringoverrideReturns a string representing the Name or the UnderlyingType of the current OpcDataTypeInfo.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.8–v2.59