MonobjcMonobjc Documented Class Library
InitWithKindOptions Method (kind, options)
NamespacesMonobjc.FoundationNSXMLNodeInitWithKindOptions(NSXMLNodeKind, NSUInteger)

Returns an NSXMLNode instance initialized with the constant indicating node kind and one or more initialization options.

Original signature is '- (id)initWithKind:(NSXMLNodeKind)kind options:(NSUInteger)options'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithKindOptions(
	NSXMLNodeKind kind,
	NSUInteger options
)
Public Overridable Function InitWithKindOptions ( _
	kind As NSXMLNodeKind, _
	options As NSUInteger _
) As Id
public:
virtual Id^ InitWithKindOptions(
	NSXMLNodeKind kind, 
	NSUInteger options
)
Parameters
kind (NSXMLNodeKind)
An enum constant of type Node Kind Constants that indicates the type of node. See “Constants” for a list of valid NSXMLNodeKind constants.
options (NSUInteger)
One or more constants that specify initialization options; if there are multiple constants, bit-OR them together. These options request operations on the represented XML related to fidelity (for example, preserving entities), quoting style, handling of empty elements, and other things. See “Constants” for a list of valid node-initialization constants.
Return Value
An NSXMLNode object initialized with the given kind and options, or nil if the object couldn't be created. If kind is not a valid NSXMLNodeKind constant, the method returns an NSXMLNode object of kind NSXMLInvalidKind.
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)