Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcTypeProvider interface defines the following members.
Retrieves the IOpcType object which is known under the name
specified.
C#
IOpcType GetType(OpcName name)
Parameters
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
The name
is a null reference (Nothing in Visual Basic).
Retrieves the IOpcType object which declares the type which is identified by the typeId
specified.
C#
IOpcType GetType(OpcNodeId typeId)
Parameters
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
The typeId
is a null reference (Nothing in Visual Basic).
Retrieves the IOpcType object which is known under the name
specified.
C#
IOpcType GetType(string name)
Parameters
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
The name
is equals Empty.
The name
is a null reference (Nothing in Visual Basic).
Retrieves the IOpcType object which declares the type implemented by the underlyingType
specified.
C#
IOpcType GetType(Type underlyingType)
Parameters
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
The underlyingType
is a null reference (Nothing in Visual Basic).
Retrieves all IOpcType objects offered by the IOpcTypeProvider.
C#
IOpcType[] GetTypes()
Returns
IOpcType[]
An array that contains all IOpcType objects that are offered by the IOpcTypeProvider.