Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Try our best to create and set the element as a child of the specified parent
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function CreateChildElement ( _
factory As Guid, _
elementId As UInteger, _
dataSource As IVsUISimpleDataSource, _
parent As FrameworkElement, _
<OutAttribute> ByRef frameworkElement As FrameworkElement _
) As Boolean
'Usage
Dim factory As Guid
Dim elementId As UInteger
Dim dataSource As IVsUISimpleDataSource
Dim parent As FrameworkElement
Dim frameworkElement As FrameworkElement
Dim returnValue As Boolean
returnValue = WindowHelper.CreateChildElement(factory, _
elementId, dataSource, parent, frameworkElement)
public static bool CreateChildElement(
Guid factory,
uint elementId,
IVsUISimpleDataSource dataSource,
FrameworkElement parent,
out FrameworkElement frameworkElement
)
public:
static bool CreateChildElement(
Guid factory,
unsigned int elementId,
IVsUISimpleDataSource^ dataSource,
FrameworkElement^ parent,
[OutAttribute] FrameworkElement^% frameworkElement
)
static member CreateChildElement :
factory:Guid *
elementId:uint32 *
dataSource:IVsUISimpleDataSource *
parent:FrameworkElement *
frameworkElement:FrameworkElement byref -> bool
public static function CreateChildElement(
factory : Guid,
elementId : uint,
dataSource : IVsUISimpleDataSource,
parent : FrameworkElement,
frameworkElement : FrameworkElement
) : boolean
Parameters
- factory
Type: System.Guid
The Guid of the UIFactory creating the UI element
- elementId
Type: System.UInt32
The ID of the UI element to be created and displayed
- dataSource
Type: Microsoft.VisualStudio.Shell.Interop.IVsUISimpleDataSource
- parent
Type: System.Windows.FrameworkElement
The framework element to be used as parent
- frameworkElement
Type: System.Windows.FrameworkElement%
Returns the created child framework element
Return Value
Type: System.Boolean
.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.