MonobjcMonobjc Documented Class Library
NSXMLDTD Constructor (data, mask, error)
NamespacesMonobjc.FoundationNSXMLDTDNSXMLDTD(NSData, NSUInteger, NSError%)

Initializes and returns an NSXMLDTD object created from the DTD declarations encapsulated in an NSData object

Original signature is '- (id)initWithData:(NSData *)data options:(NSUInteger)mask error:(NSError **)error'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSXMLDTD(
	NSData data,
	NSUInteger mask,
	out NSError error
)
Public Sub New ( _
	data As NSData, _
	mask As NSUInteger, _
	<OutAttribute> ByRef error As NSError _
)
public:
NSXMLDTD(
	NSData^ data, 
	NSUInteger mask, 
	[OutAttribute] NSError^% error
)
Parameters
data (NSData)
A data object containing DTD declarations.
mask (NSUInteger)
A bit mask specifying input options; bit-OR multiple options. The current valid options are NSXMLNodePreserveWhitespace and NSXMLNodePreserveEntities; these constants are described in the "Constants" section of the NSXMLNode reference.
error (NSError%)
On return, this parameter holds an NSError object describing any errors and warnings related to parsing and remote connection.
Return Value
An initialized NSXMLDTD object or nil if initialization fails because of parsing errors or other reasons.
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)