IOpcTypeProvider Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcTypeProvider interface defines the following members.

GetType(OpcName)

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

IOpcType

The IOpcType object its Name is equals to the name specified; otherwise a null reference (Nothing in Visual Basic).



Exceptions

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

GetType(OpcNodeId)

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

IOpcType

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

ArgumentNullException

The typeId is a null reference (Nothing in Visual Basic).

GetType(String)

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

IOpcType

The IOpcType object its Name is equals (regarding its Value) to the name specified; otherwise a null reference (Nothing in Visual Basic).



Exceptions

ArgumentException

The name is equals Empty.

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

GetType(Type)

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

IOpcType

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

ArgumentNullException

The underlyingType is a null reference (Nothing in Visual Basic).

GetTypes()

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.