ModelExplorerTreeContainer.CurrentParentElement 属性

获取在 模型资源管理器所选元素的父元素。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
Protected ReadOnly Property CurrentParentElement As ModelElement
protected ModelElement CurrentParentElement { get; }

属性值

类型:Microsoft.VisualStudio.Modeling.ModelElement
模型资源管理器所选元素的父元素;如果元素没有父级, nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

ModelExplorerTreeContainer 类

Microsoft.VisualStudio.Modeling.Shell 命名空间