MonobjcMonobjc Documented Class Library
CommentWithStringValue Method (stringValue)
NamespacesMonobjc.FoundationNSXMLNodeCommentWithStringValue(NSString)

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
C#Visual BasicVisual C++
public static Id CommentWithStringValue(
	NSString stringValue
)
Public Shared Function CommentWithStringValue ( _
	stringValue As NSString _
) As Id
public:
static Id^ CommentWithStringValue(
	NSString^ stringValue
)
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)