ModelExplorerTreeContainer.CurrentParentElement 属性

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

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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 命名空间