Apply a method by name, passing a string value as its body.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 11.0.0.6296

Syntax

C#
public Item applyMethod(
	string methodName,
	string body
)
Visual Basic (Declaration)
Public Function applyMethod ( _
	methodName As String, _
	body As String _
) As Item
J#
public Item applyMethod(
	String methodName,
	String body
)
JScript
public function applyMethod(
	methodName : String, 
	body : String
) : Item

Parameters

methodName
Type: System..::.String
Name of the method.
body
Type: System..::.String
Context for the method (method item).

Return Value

Remarks

The context for the method will be the method item, in the form: <Item type="Method" action="{methodName}">{body}</Item> Note, that only methods that use IOM namespace from .NET (C#, VBScript) can be applied, and methods written in JavaScript cannot be applied.

See Also