MonobjcMonobjc Documented Class Library
ElementWithNameChildrenAttributes Method (name, children, attributes)
NamespacesMonobjc.FoundationNSXMLNodeElementWithNameChildrenAttributes(NSString, NSArray, NSArray)

Returns an NSXMLElement object with the given tag (name), attributes, and children.

Original signature is '+ (id)elementWithName:(NSString *)name children:(NSArray *)children attributes:(NSArray *)attributes'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id ElementWithNameChildrenAttributes(
	NSString name,
	NSArray children,
	NSArray attributes
)
Public Shared Function ElementWithNameChildrenAttributes ( _
	name As NSString, _
	children As NSArray, _
	attributes As NSArray _
) As Id
public:
static Id^ ElementWithNameChildrenAttributes(
	NSString^ name, 
	NSArray^ children, 
	NSArray^ attributes
)
Parameters
name (NSString)
A string that is the name (tag identifier) of the element.
children (NSArray)
An array of NSXMLElement objects or NSXMLNode objects of kinds NSXMLElementKind, NSXMLProcessingInstructionKind, NSXMLCommentKind, and NSXMLTextKind. Specify nil if there are no children to add to this node object.
attributes (NSArray)
An array of NSXMLNode objects of kind NSXMLAttributeKind. Specify nil if there are no attributes to add to this node object.
Return Value
An NSXMLElement object or nil if the object couldn't be created.
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)