WindowHelper.CreateUIElement 方法 (Guid, UInt32)

创建一个 UI 元素。

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

语法

声明
Public Shared Function CreateUIElement ( _
    factory As Guid, _
    elementId As UInteger _
) As IVsUIElement
public static IVsUIElement CreateUIElement(
    Guid factory,
    uint elementId
)

参数

  • factory
    类型:System.Guid
    应创建组件 UI 工厂的 GUID。

返回值

类型:Microsoft.VisualStudio.Shell.Interop.IVsUIElement
UI 元素。

.NET Framework 安全性

请参见

参考

WindowHelper 类

CreateUIElement 重载

Microsoft.Internal.VisualStudio.PlatformUI 命名空间