Reference
OpcTypeSystem Members
Defines an abstract implementation of the IOpcTypeSystem to define type information used in different scopes of OPC UA.
Reference
OpcTypeSystem<T> Members
- Type
- OpcTypeSystem<T>
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcTypeSystem
| Overload | Description |
|---|---|
| OpcTypeSystem( | Initializes a new instance of the OpcTypeSystem<scope specified without any fallback type system. |
| OpcTypeSystem( | Initializes a new instance of the OpcTypeSystem<scope and fallback specified. |
OpcTypeSystem(OpcTypeSystemScopes)
Initializes a new instance of the OpcTypeSystem<T> class using the scope specified without any fallback type system.
protected OpcTypeSystem(OpcTypeSystemScopes scope)Protected Sub New(scope As OpcTypeSystemScopes)Parameters
| Name | Type | Description |
|---|---|---|
scope | Opc | The Opc |
OpcTypeSystem(OpcTypeSystemScopes, OpcTypeSystem<T>)
Initializes a new instance of the OpcTypeSystem<T> class using the scope and fallbackTypeSystem specified.
protected OpcTypeSystem(
OpcTypeSystemScopes scope,
OpcTypeSystem<T> fallbackTypeSystem)Protected Sub New(
scope As OpcTypeSystemScopes,
fallbackTypeSystem As OpcTypeSystem(Of T))Parameters
| Name | Type | Description |
|---|---|---|
scope | Opc | The Opc |
fallback | OpcTypeSystem< | The type system used as the fallback system to query type information which is referenced in the new OpcTypeSystem< |
Properties
FallbackTypeSystem
Gets the type system used as the fallback system to query type information which is referenced in the current OpcTypeSystem<T> but is not declared.
public virtual OpcTypeSystem<T> FallbackTypeSystem { get; }Public Overridable ReadOnly Property FallbackTypeSystem As OpcTypeSystem(Of T)Property value
An instance of the OpcTypeSystem<T> class used to query type information which is referenced but not declared within the current OpcTypeSystem<T> or a null reference (Nothing in Visual Basic) if the current OpcTypeSystem<T> is independent from a different type system. Such type systems typically declare types which only reference others declared in the same system as well.
IsEmpty
Gets a value indicating whether the current OpcTypeSystem<T> represents a type system to use if there is no specific type system described.
public virtual bool IsEmpty { get; }Public Overridable ReadOnly Property IsEmpty As BooleanProperty value
The value true if the type system does not declare a specific type system; otherwise the value false.
Implements
Scope
Gets the scope of types covered by the current OpcTypeSystem<T>.
public OpcTypeSystemScopes Scope { get; }Public ReadOnly Property Scope As OpcTypeSystemScopesProperty value
One of the members defined by the OpcTypeSystemScopes enumeration.
Implements
Methods
GetType
| Overload | Description |
|---|---|
| GetType( | Retrieves the T object which is known under the name specified. |
| GetType( | Retrieves the T object which is known under the name specified. |
| GetType( | Retrieves the T object which declares the type which is identified by the typeId specified. |
| GetType( | Retrieves the T object which declares the type implemented by the underlyingType specified. |
GetType(string)
Retrieves the T object which is known under the name specified.
public T GetType(string name)Public Function [GetType](name As String) As TParameters
| Name | Type | Description |
|---|---|---|
name | String | The string to use to identify the T object to retrieve. |
Returns
T
The T 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 T object which is known under the name specified.
public T GetType(OpcName name)Public Function [GetType](name As OpcName) As TParameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName of the T object to retrieve. |
Returns
T
The T 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 T object which declares the type which is identified by the typeId specified.
public T GetType(OpcNodeId typeId)Public Function [GetType](typeId As OpcNodeId) As TParameters
| Name | Type | Description |
|---|---|---|
typeId | OpcNodeId | The OpcNodeId which identifies the T to retrieve. |
Returns
T
The T object which is known under the typeId specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known T object which is associated with the typeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeId is a null reference ( |
GetType(Type)
Retrieves the T object which declares the type implemented by the underlyingType specified.
public T GetType(Type underlyingType)Public Function [GetType](underlyingType As Type) As TParameters
| Name | Type | Description |
|---|---|---|
underlyingType | Type | The Type which implements the T to retrieve. |
Returns
T
The T object which declares the underlyingType specified or a null reference (Nothing in Visual Basic) if there isn't a T object associated with the underlyingType specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The underlyingType is a null reference ( |
GetTypeCore
| Overload | Description |
|---|---|
| GetTypeCore( | Retrieves the T object which is known under the name specified. |
| GetTypeCore( | Retrieves the T object which is known under the name specified. |
| GetTypeCore( | Retrieves the T object which declares the type which is identified by the typeId specified. |
| GetTypeCore( | Retrieves the T object which declares the type implemented by the underlyingType specified. |
GetTypeCore(string)
Retrieves the T object which is known under the name specified.
protected abstract T GetTypeCore(string name)Protected MustOverride Function GetTypeCore(name As String) As TParameters
| Name | Type | Description |
|---|---|---|
name | String | The string to use to identify the T object to retrieve. |
Returns
T
The T object its Name is equals (regarding its Value) to the name specified; otherwise a null reference (Nothing in Visual Basic).
Remarks
It is already assured that the passed name is not a null reference (Nothing in Visual Basic) nor equals Empty.
GetTypeCore(OpcName)
Retrieves the T object which is known under the name specified.
protected abstract T GetTypeCore(OpcName name)Protected MustOverride Function GetTypeCore(name As OpcName) As TParameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName of the T object to retrieve. |
Returns
T
The T object its Name is equals to the name specified; otherwise a null reference (Nothing in Visual Basic).
Remarks
It is already assured that the passed name is not a null reference (Nothing in Visual Basic).
GetTypeCore(OpcNodeId)
Retrieves the T object which declares the type which is identified by the typeId specified.
protected abstract T GetTypeCore(OpcNodeId typeId)Protected MustOverride Function GetTypeCore(typeId As OpcNodeId) As TParameters
| Name | Type | Description |
|---|---|---|
typeId | OpcNodeId | The OpcNodeId which identifies the T to retrieve. |
Returns
T
The T object which is known under the typeId specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known T object which is associated with the typeId specified.
Remarks
It is already assured that the passed typeId is not a null reference (Nothing in Visual Basic).
GetTypeCore(Type)
Retrieves the T object which declares the type implemented by the underlyingType specified.
protected abstract T GetTypeCore(Type underlyingType)Protected MustOverride Function GetTypeCore(underlyingType As Type) As TParameters
| Name | Type | Description |
|---|---|---|
underlyingType | Type | The Type which implements the T to retrieve. |
Returns
T
The T object which declares the underlyingType specified or a null reference (Nothing in Visual Basic) if there isn't a T object associated with the underlyingType specified.
Remarks
It is already assured that the passed underlyingType is not a null reference (Nothing in Visual Basic).
GetTypes
Retrieves all T objects offered by the OpcTypeSystem<T>.
public T[] GetTypes()Public Function GetTypes() As T()Returns
T[]
An array that contains all T objects that are offered by the OpcTypeSystem<T>.
GetTypesCore
Retrieves all T objects offered by the current OpcTypeSystem<T> .
protected abstract T[] GetTypesCore()Protected MustOverride Function GetTypesCore() As T()Returns
T[]
An array that contains all T objects that are offered by the OpcTypeSystem<T>.

