SimpleElementComment Property |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Get or set the text of any comments that are in the XML element.
Namespace:
Tangosol.Run.Xml
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic virtual string Comment { get; set; }
Property Value
Type:
String
The comment text from this element (not including the "") or
null if there was no comment.
Implements
IXmlElementComment
RemarksThe XML specification does not allow a comment to contain the
string "--".
An element can contain many comments interspersed randomly with
textual values and child elements. In reality, comments are
rarely used. The purpose of this method and the corresponding
mutator are to ensure that if comments do exist, that their text
will be accessible through this interface and not lost through a
transfer from one instance of this interface to another.
See Also