Initializes and returns an NSXMLDocument object created from the XML or HTML contents of a URL-referenced source
Original signature is '- (id)initWithContentsOfURL:(NSURL *)url options:(NSUInteger)mask error:(NSError **)error'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
public virtual Id InitWithContentsOfURLOptionsError( NSURL url, NSUInteger mask, out NSError error )
Public Overridable Function InitWithContentsOfURLOptionsError ( _ url As NSURL, _ mask As NSUInteger, _ <OutAttribute> ByRef error As NSError _ ) As Id
public: virtual Id^ InitWithContentsOfURLOptionsError( NSURL^ url, NSUInteger mask, [OutAttribute] NSError^% error )

- url (NSURL)
- An NSURL object specifying a URL source.
- mask (NSUInteger)
- A bit mask for input options. You can specify multiple options by bit-OR'ing them. See “Constants” for a list of valid input options.
- error (NSError%)
- An error object that, on return, identifies any parsing errors and warnings or connection problems.

An initialized NSXMLDocument object, or nil if initialization fails because of parsing errors or other reasons.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)