Reference
IOpcTypeProvider Members
Provides type information used in the OPC UA address space.
Reference
IOpcTypeProvider Members
- Type
- IOpcTypeProvider
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Methods
GetType
| 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. |
GetType(string)
Retrieves the IOpcType object which is known under the name specified.
IOpcType GetType(string name)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.
IOpcType GetType(OpcName name)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.
IOpcType GetType(OpcNodeId typeId)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.
IOpcType GetType(Type underlyingType)Function [GetType](underlyingType As Type) As IOpcTypeParameters
| Name | Type | Description |
|---|---|---|
underlyingType | Type | The Type which implements the OpcDataTypeInfo 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 ( |
GetTypes
Retrieves all IOpcType objects offered by the IOpcTypeProvider.
IOpcType[] GetTypes()Function GetTypes() As IOpcType()Returns
IOpcType[]
An array that contains all IOpcType objects that are offered by the IOpcTypeProvider.

