UIFactory.CreateUIElement Method (Guid%, UInt32, IVsUIElement%)
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Function CreateUIElement ( _
ByRef factory As Guid, _
elementId As UInteger, _
<OutAttribute> ByRef ppUIElement As IVsUIElement _
) As Integer
'Utilisation
Dim instance As UIFactory
Dim factory As Guid
Dim elementId As UInteger
Dim ppUIElement As IVsUIElement
Dim returnValue As Integer
returnValue = instance.CreateUIElement(factory, _
elementId, ppUIElement)
public int CreateUIElement(
ref Guid factory,
uint elementId,
out IVsUIElement ppUIElement
)
public:
virtual int CreateUIElement(
Guid% factory,
unsigned int elementId,
[OutAttribute] IVsUIElement^% ppUIElement
) sealed
abstract CreateUIElement :
factory:Guid byref *
elementId:uint32 *
ppUIElement:IVsUIElement byref -> int
override CreateUIElement :
factory:Guid byref *
elementId:uint32 *
ppUIElement:IVsUIElement byref -> int
public final function CreateUIElement(
factory : Guid,
elementId : uint,
ppUIElement : IVsUIElement
) : int
Parameters
- factory
Type: System.Guid%
- elementId
Type: System.UInt32
- ppUIElement
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement%
Return Value
Type: System.Int32
Implements
IVsUIFactory.CreateUIElement(Guid%, UInt32, 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.