Gets an item (single or collection) resolving xpath specified.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public Item getItemsByXPath(
string xpath
) |
Visual Basic (Declaration) |
---|
Public Function getItemsByXPath ( _
xpath As String _
) As Item |
J# |
---|
public Item getItemsByXPath(
String xpath
) |
JScript |
---|
public function getItemsByXPath(
xpath : String
) : Item |
Parameters
- xpath
- Type: System..::.String
XPath for selecting <Item> nodes
Return Value
Instance of the class that represents either a single item or a collection of items. The collection could be empty.
The returned item shares its
dom with
this item, i.e. returned item
dom and
this.dom
reference the same instance of ArasXmlDocument.
Remarks
Exceptions
Exception | Condition |
---|
System..::.Exception | Item's internal structure is wrong (e.g. this.dom == null) |
System..::.ArgumentException | Specified XPath doesn't resolve to <Item> nodes. |
See Also