Returns an Item where the text passed in as the argument is the body for the <Result> tag.

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

Syntax

C#
public Item newResult(
	string text
)
Visual Basic (Declaration)
Public Function newResult ( _
	text As String _
) As Item
J#
public Item newResult(
	String text
)
JScript
public function newResult(
	text : String
) : Item

Parameters

text
Type: System..::.String
Text to be set as the body for the <Result> tag.

Return Value

Created item.

Remarks

After the insertion the method performs a verification that resulting AML is well-formed XML. If passed text contains any XML escape symbols it's user's responsibility to put the text inside a 'CDATA' block.

Exceptions

ExceptionCondition
System.Xml..::.XmlExceptionResulting AML is not well-formed XML.

See Also