MonobjcMonobjc Documented Class Library
NodesForXPathError Method (xpath, error)
NamespacesMonobjc.FoundationNSXMLNodeNodesForXPathError(NSString, NSError%)

Returns the nodes resulting from executing an XPath query upon the receiver.

Original signature is '- (NSArray *)nodesForXPath:(NSString *)xpath error:(NSError **)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray NodesForXPathError(
	NSString xpath,
	out NSError error
)
Public Overridable Function NodesForXPathError ( _
	xpath As NSString, _
	<OutAttribute> ByRef error As NSError _
) As NSArray
public:
virtual NSArray^ NodesForXPathError(
	NSString^ xpath, 
	[OutAttribute] NSError^% error
)
Parameters
xpath (NSString)
A string that expresses an XPath query.
error (NSError%)
If query errors occur, indirectly returns an NSError object describing the errors.
Return Value
An array of NSXMLNode objects that match the query, or an empty array if there are no matches.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)