WindowHelper.CreateUIElement Method (Guid, UInt32)
Creates a UI element.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Shared Function CreateUIElement ( _
factory As Guid, _
elementId As UInteger _
) As IVsUIElement
public static IVsUIElement CreateUIElement(
Guid factory,
uint elementId
)
Parameters
- factory
Type: System.Guid
The GUID of the UI factory that should create the element.
- elementId
Type: System.UInt32
The ID of the UI element to create.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
The UI element.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.