WindowHelper.CreateUIElement Method
Create a UI Element
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Shared Function CreateUIElement ( _
factory As Guid, _
elementId As UInteger _
) As IVsUIElement
'Utilisation
Dim factory As Guid
Dim elementId As UInteger
Dim returnValue As IVsUIElement
returnValue = WindowHelper.CreateUIElement(factory, _
elementId)
public static IVsUIElement CreateUIElement(
Guid factory,
uint elementId
)
public:
static IVsUIElement^ CreateUIElement(
Guid factory,
unsigned int elementId
)
static member CreateUIElement :
factory:Guid *
elementId:uint32 -> IVsUIElement
public static function CreateUIElement(
factory : Guid,
elementId : uint
) : IVsUIElement
Parameters
- factory
Type: System.Guid
The guid of the UIFactory supporting the element
- elementId
Type: System.UInt32
The ID of the UI Element to create
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
.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.