Share via


IComment.OwningElement Property

Gets the element in which this comment is defined, such as a model. Not the same as AnnotatedElements, the elements to which it is linked.

Namespace:  Microsoft.VisualStudio.Uml.Classes
Assembly:  Microsoft.VisualStudio.Uml.Interfaces (in Microsoft.VisualStudio.Uml.Interfaces.dll)

Syntax

'Declaration
ReadOnly Property OwningElement As IElement
    Get
IElement OwningElement { get; }
property IElement^ OwningElement {
    IElement^ get ();
}
abstract OwningElement : IElement
function get OwningElement () : IElement

Property Value

Type: Microsoft.VisualStudio.Uml.Classes.IElement

.NET Framework Security

See Also

Reference

IComment Interface

Microsoft.VisualStudio.Uml.Classes Namespace