MonobjcMonobjc Documented Class Library
InitWithRootElement Method (root)
NamespacesMonobjc.FoundationNSXMLDocumentInitWithRootElement(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 virtual Id InitWithRootElement(
	NSXMLElement root
)
Public Overridable Function InitWithRootElement ( _
	root As NSXMLElement _
) As Id
public:
virtual Id^ InitWithRootElement(
	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)