WindowHelper.CreateChildElement 方法 (IVsUIElement, FrameworkElement, FrameworkElement%)

创建一个并设置指定的元素,指定的父的子元素。

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

语法

声明
Public Shared Function CreateChildElement ( _
    element As IVsUIElement, _
    parent As FrameworkElement, _
    <OutAttribute> ByRef frameworkElement As FrameworkElement _
) As Boolean
public static bool CreateChildElement(
    IVsUIElement element,
    FrameworkElement parent,
    out FrameworkElement frameworkElement
)

参数

返回值

类型:System.Boolean
true ,如果父关系能生成,否则 false。

.NET Framework 安全性

请参见

参考

WindowHelper 类

CreateChildElement 重载

Microsoft.Internal.VisualStudio.PlatformUI 命名空间