MonobjcMonobjc Documented Class Library
NSXMLDocument Constructor (root)
NamespacesMonobjc.FoundationNSXMLDocumentNSXMLDocument(NSXMLElement)

Returns an NSXMLDocument object initialized with a single child, the root element.

Original signature is '- (id)initWithRootElement:(NSXMLElement *)root'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSXMLDocument(
	NSXMLElement root
)
Public Sub New ( _
	root As NSXMLElement _
)
public:
NSXMLDocument(
	NSXMLElement^ root
)
Parameters
root (NSXMLElement)
An NSXMLElement object representing an XML element.
Return Value
An initialized NSXMLDocument object, or nil if initialization fails for any reason.
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)