uaPLUS Reference
AddMethod(NodeState,String,String,ArgumentDefinition[],ArgumentDefinition[],GenericMethodCalledEventHandler2) Method
See Also  Send Feedback
Advosol.uaPLUS Namespace > BaseNodeManager Class > AddMethod Method : AddMethod(NodeState,String,String,ArgumentDefinition[],ArgumentDefinition[],GenericMethodCalledEventHandler2) Method

parent
name
The name for the node ID, browse name and display name.
description
Optional vendor specific node description.
inputArguments
The definition of the required input arguments.
outputArguments
The definition of the required output arguments.
onCall
The method to be called on client request.

Glossary Item Box

A MethodType node object is created with the specified name, data type and optional initial value.
Additional properties of the node object can be set by the application as required after the node is created.

Syntax

Visual Basic (Declaration) 
Protected Overloads Function AddMethod( _
   ByVal parent As NodeState, _
   ByVal name As String, _
   ByVal description As String, _
   ByVal inputArguments() As ArgumentDefinition, _
   ByVal outputArguments() As ArgumentDefinition, _
   ByVal onCall As GenericMethodCalledEventHandler2 _
) As MethodState

Parameters

parent
name
The name for the node ID, browse name and display name.
description
Optional vendor specific node description.
inputArguments
The definition of the required input arguments.
outputArguments
The definition of the required output arguments.
onCall
The method to be called on client request.

Return Value

The created MethodeState node

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.