Table of Contents

Interface IComment

Namespace
NMF.Interop.Legacy.Cmof
Assembly
NMF.UMLInterop.dll

The public interface for Comment

[DefaultImplementationType(typeof(Comment))]
[XmlDefaultImplementationType(typeof(Comment))]
[ModelRepresentationClass("http://schema.omg.org/spec/MOF/2.0/cmof.xml#//Comment")]
public interface IComment : IElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

AnnotatedElement

References the Element(s) being commented.

[XmlElementName("annotatedElement")]
[XmlAttribute(true)]
ISetExpression<IElement> AnnotatedElement { get; }

Property Value

ISetExpression<IElement>

Body

Specifies a string that is the comment.

[XmlElementName("body")]
[XmlAttribute(true)]
string Body { get; set; }

Property Value

string