QuickOPC User's Guide and Reference
GetTypeDefinitionId Method (UAEmptyModelProvider)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Modelling Namespace > UAEmptyModelProvider Class : GetTypeDefinitionId Method
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
The OPC-UA type definition ID. The NodeId of the type definition. Valid when exception is equal to null.
Contains information about the error encountered while interrogating the model, or null if the operation was successful.
Interrogates the information model for the OPC-UA type definition ID of the given node.
Syntax
'Declaration
 
Public Function GetTypeDefinitionId( _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal nodeDescriptor As UANodeDescriptor, _
   ByRef typeDefinitionId As UANodeId, _
   ByRef exception As Exception _
) As Boolean
'Usage
 
Dim instance As UAEmptyModelProvider
Dim endpointDescriptor As UAEndpointDescriptor
Dim nodeDescriptor As UANodeDescriptor
Dim typeDefinitionId As UANodeId
Dim exception As Exception
Dim value As Boolean
 
value = instance.GetTypeDefinitionId(endpointDescriptor, nodeDescriptor, typeDefinitionId, exception)

Parameters

endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
nodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.
typeDefinitionId
The OPC-UA type definition ID. The NodeId of the type definition. Valid when exception is equal to null.
exception
Contains information about the error encountered while interrogating the model, or null if the operation was successful.

Return Value

Returns true if the model provider is responsible for (has knowledge about) the specified node; return false otherwise.
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UAEmptyModelProvider Class
UAEmptyModelProvider Members