MonobjcMonobjc Documented Class Library
DocumentWithRootElement Method (element)
NamespacesMonobjc.FoundationNSXMLNodeDocumentWithRootElement(NSXMLElement)

Returns an NSXMLDocument object initialized with a given root element.

Original signature is '+ (id)documentWithRootElement:(NSXMLElement *)element'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id DocumentWithRootElement(
	NSXMLElement element
)
Public Shared Function DocumentWithRootElement ( _
	element As NSXMLElement _
) As Id
public:
static Id^ DocumentWithRootElement(
	NSXMLElement^ element
)
Parameters
element (NSXMLElement)
An NSXMLElement object representing an element.
Return Value
An NSXMLDocument object initialized with the root element element 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)