Returns an NSXMLNode instance initialized with the constant indicating node kind.
Original signature is '- (id)initWithKind:(NSXMLNodeKind)kind'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSXMLNode( NSXMLNodeKind kind )
Public Sub New ( _ kind As NSXMLNodeKind _ )
public: NSXMLNode( NSXMLNodeKind kind )
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.
Return Value
An NSXMLNode object initialized with kind 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)