Additional properties of the node object can be set by the application as required after the node is created.
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 |
C# | |
---|---|
protected MethodState AddMethod( NodeState parent, string name, string description, ArgumentDefinition[] inputArguments, ArgumentDefinition[] outputArguments, GenericMethodCalledEventHandler2 onCall ) |
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 nodeTarget Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family