Reference
OpcClient.GetDataType Method
Retrieves the OpcDataTypeInfo object which is known under the name specified.
Reference
OpcClient.GetDataType Method
- Type
- OpcClient
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcClient Members
- Also in
- Opc.UaFx.Client
| Overload | Description |
|---|---|
| GetDataType( | Retrieves the OpcDataTypeInfo object which is known under the name specified. |
| GetDataType( | Retrieves the OpcDataTypeInfo object which is known under the name specified. |
| GetDataType( | Retrieves the OpcDataTypeInfo object which declares the type which is identified by the typeId specified. |
| GetDataType( | Retrieves the OpcDataTypeInfo object which declares the type implemented by the underlyingType specified. |
| GetDataType( | Retrieves the OpcDataTypeInfo object which declares the type which is identified by the encoding specified. |
| GetDataType( | Retrieves the OpcDataTypeInfo object which is known under the xmlName specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Object | The object has been disposed of. |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. |
GetDataType(string)
Retrieves the OpcDataTypeInfo object which is known under the name specified.
public OpcDataTypeInfo GetDataType(string name)Public Function GetDataType(name As String) As OpcDataTypeInfoParameters
| Name | Type | Description |
|---|---|---|
name | String | The string to use to identify the OpcDataTypeInfo object to retrieve. |
Returns
The OpcDataTypeInfo object its Name is equals (regarding its Value) to the name specified; otherwise a null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Empty. |
| Argument | The name is a null reference ( |
GetDataType(OpcName)
Retrieves the OpcDataTypeInfo object which is known under the name specified.
public OpcDataTypeInfo GetDataType(OpcName name)Public Function GetDataType(name As OpcName) As OpcDataTypeInfoParameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName of the OpcDataTypeInfo object to retrieve. |
Returns
The OpcDataTypeInfo object its Name is equals to the name specified; otherwise a null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is a null reference ( |
GetDataType(OpcNodeId)
Retrieves the OpcDataTypeInfo object which declares the type which is identified by the typeId specified.
public OpcDataTypeInfo GetDataType(OpcNodeId typeId)Public Function GetDataType(typeId As OpcNodeId) As OpcDataTypeInfoParameters
| Name | Type | Description |
|---|---|---|
typeId | OpcNodeId | The OpcNodeId which identifies the OpcDataTypeInfo to retrieve. |
Returns
The OpcDataTypeInfo object which is known under the typeId specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known OpcDataTypeInfo object which is associated with the typeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeId is a null reference ( |
GetDataType(Type)
Retrieves the OpcDataTypeInfo object which declares the type implemented by the underlyingType specified.
public OpcDataTypeInfo GetDataType(Type underlyingType)Public Function GetDataType(underlyingType As Type) As OpcDataTypeInfoParameters
| Name | Type | Description |
|---|---|---|
underlyingType | Type | The Type which implements the OpcDataTypeInfo to retrieve. |
Returns
The OpcDataTypeInfo object which declares the underlyingType specified or a null reference (Nothing in Visual Basic) if there isn't a OpcDataTypeInfo object associated with the underlyingType specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The underlyingType is a null reference ( |
GetDataType(OpcEncoding)
Retrieves the OpcDataTypeInfo object which declares the type which is identified by the encoding specified.
public OpcDataTypeInfo GetDataType(OpcEncoding encoding)Public Function GetDataType(encoding As OpcEncoding) As OpcDataTypeInfoParameters
| Name | Type | Description |
|---|---|---|
encoding | OpcEncoding | The OpcEncoding which identifies the OpcDataTypeInfo to retrieve. |
Returns
The OpcDataTypeInfo object which is known under the encoding specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known OpcDataTypeInfo which is associated with the encoding specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The encoding is a null reference ( |
GetDataType(XmlQualifiedName)
Retrieves the OpcDataTypeInfo object which is known under the xmlName specified.
public OpcDataTypeInfo GetDataType(XmlQualifiedName xmlName)Public Function GetDataType(xmlName As XmlQualifiedName) As OpcDataTypeInfoParameters
| Name | Type | Description |
|---|---|---|
xmlName | XmlQualifiedName | The XmlQualifiedName of the OpcDataTypeInfo object to retrieve. |
Returns
The OpcDataTypeInfo object its XmlName is equals to the xmlName specified; otherwise a null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition |
|---|---|
| Argument | The xmlName is a null reference ( |

