InnovatorapplyMethod Method |
Apply a method by name, passing a string value as its body.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic Item applyMethod(
string methodName,
string body
)
Public Function applyMethod (
methodName As String,
body As String
) As Item
public Item applyMethod(
String methodName,
String body
)
public function applyMethod(
methodName : String,
body : String
) : Item
Parameters
- methodName
- Type: SystemString
Name of the method. - body
- Type: SystemString
Context for the method (method item).
Return Value
Type:
Item
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