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 ( _
element As IVsUIElement, _
parent As FrameworkElement, _
<OutAttribute> ByRef frameworkElement As FrameworkElement _
) As Boolean
'Usage
Dim element As IVsUIElement
Dim parent As FrameworkElement
Dim frameworkElement As FrameworkElement
Dim returnValue As Boolean
returnValue = WindowHelper.CreateChildElement(element, _
parent, frameworkElement)
public static bool CreateChildElement(
IVsUIElement element,
FrameworkElement parent,
out FrameworkElement frameworkElement
)
public:
static bool CreateChildElement(
IVsUIElement^ element,
FrameworkElement^ parent,
[OutAttribute] FrameworkElement^% frameworkElement
)
static member CreateChildElement :
element:IVsUIElement *
parent:FrameworkElement *
frameworkElement:FrameworkElement byref -> bool
public static function CreateChildElement(
element : IVsUIElement,
parent : FrameworkElement,
frameworkElement : FrameworkElement
) : boolean
Parameters
- element
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
The element to be created and displayed
- 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.