共用方式為


IComment.OwningElement 屬性

取得定義此註解的元素,例如模型。 不同於它所連結的項目 AnnotatedElements。

命名空間:  Microsoft.VisualStudio.Uml.Classes
組件:  Microsoft.VisualStudio.Uml.Interfaces (在 Microsoft.VisualStudio.Uml.Interfaces.dll 中)

語法

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

屬性值

型別:Microsoft.VisualStudio.Uml.Classes.IElement

.NET Framework 安全性

請參閱

參考

IComment 介面

Microsoft.VisualStudio.Uml.Classes 命名空間