Reference
OpcClient.GetType Method
Retrieves the IOpcType object which is known under the name specified.
Reference
OpcClient.GetType 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 |
|---|---|
| GetType( | Retrieves the IOpcType object which is known under the name specified. |
| GetType( | Retrieves the IOpcType object which is known under the name specified. |
| GetType( | Retrieves the IOpcType object which declares the type which is identified by the typeId specified. |
| GetType( | Retrieves the IOpcType object which declares the type implemented by the underlyingType 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. |
GetType(string)
Retrieves the IOpcType object which is known under the name specified.
public IOpcType GetType(string name)Public Function [GetType](name As String) As IOpcTypeParameters
| Name | Type | Description |
|---|---|---|
name | String | The string to use to identify the IOpcType object to retrieve. |
Returns
The IOpcType 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 ( |
GetType(OpcName)
Retrieves the IOpcType object which is known under the name specified.
public IOpcType GetType(OpcName name)Public Function [GetType](name As OpcName) As IOpcTypeParameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName of the IOpcType object to retrieve. |
Returns
The IOpcType 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 ( |
GetType(OpcNodeId)
Retrieves the IOpcType object which declares the type which is identified by the typeId specified.
public IOpcType GetType(OpcNodeId typeId)Public Function [GetType](typeId As OpcNodeId) As IOpcTypeParameters
| Name | Type | Description |
|---|---|---|
typeId | OpcNodeId | The OpcNodeId which identifies the IOpcType to retrieve. |
Returns
The IOpcType object which is known under the typeId specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known IOpcType object which is associated with the typeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeId is a null reference ( |
GetType(Type)
Retrieves the IOpcType object which declares the type implemented by the underlyingType specified.
public IOpcType GetType(Type underlyingType)Public Function [GetType](underlyingType As Type) As IOpcTypeParameters
| Name | Type | Description |
|---|---|---|
underlyingType | Type | The Type which implements the IOpcType to retrieve. |
Returns
The IOpcType object which declares the underlyingType specified or a null reference (Nothing in Visual Basic) if there isn't a IOpcType object associated with the underlyingType specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The underlyingType is a null reference ( |

