Returns an NSXMLNode object representing an comment node containing given text.
Original signature is '+ (id)commentWithStringValue:(NSString *)stringValue'
Available in Mac OS X v10.4 and later.
Declaration Syntax
Parameters
- stringValue (NSString)
- A string specifying the text of the comment. You may specify nil or an empty string (see Return Value).
Return Value
An NSXMLNode object representing an comment node (NSXMLCommentKind) containing the text stringValue or nil if the object couldn't be created. If stringValue is nil or an empty string, a content-less comment node is returned (<!--->).
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)