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 methodID As Object, _ ByVal browseName As String, _ ByVal displayName As LocalizedText, _ ByVal description As String, _ ByVal inputArguments() As ArgumentDefinition, _ ByVal outputArguments() As ArgumentDefinition, _ ByVal onCall As GenericMethodCalledEventHandler2 _ ) As MethodState |
C# | |
---|---|
protected MethodState AddMethod( NodeState parent, object methodID, string browseName, LocalizedText displayName, string description, ArgumentDefinition[] inputArguments, ArgumentDefinition[] outputArguments, GenericMethodCalledEventHandler2 onCall ) |
Parameters
- parent
- methodID
- The node ID as a string or a numeric (int) value.
- browseName
- The symbolic name of the node.
- displayName
- The symbolic name as localized text. For LocaleId 'en' it shall be the same as the browse 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