MonobjcMonobjc Documented Class Library
ElementsForName Method (name)
NamespacesMonobjc.FoundationNSXMLElementElementsForName(NSString)

Returns the child element nodes (as NSXMLElement objects) of the receiver that have a specified name.

Original signature is '- (NSArray *)elementsForName:(NSString *)name'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray ElementsForName(
	NSString name
)
Public Overridable Function ElementsForName ( _
	name As NSString _
) As NSArray
public:
virtual NSArray^ ElementsForName(
	NSString^ name
)
Parameters
name (NSString)
A string specifying the name of the child element nodes to find and return. If name is a qualified name, then this method invokes elementsForLocalName:URI: with the URI parameter set to the URI associated with the prefix. Otherwise comparison is based on string equality of the qualified or non-qualified name.
Return Value
An array of of NSXMLElement objects or an empty array if no matching children can be found.
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)