IVsUIWpfHostPrivate.CreateWPFUIElementContainer Method
Namespace: Microsoft.Internal.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Function CreateWPFUIElementContainer ( _
szWindowType As String, _
hWndParent As IntPtr, _
pElement As IVsUIElement, _
pDataSource As IVsUIDataSource, _
pSite As Object, _
<OutAttribute> ByRef ppElementContainer As IVsUIWPFElementContainerPrivate _
) As Integer
'Utilisation
Dim instance As IVsUIWpfHostPrivate
Dim szWindowType As String
Dim hWndParent As IntPtr
Dim pElement As IVsUIElement
Dim pDataSource As IVsUIDataSource
Dim pSite As Object
Dim ppElementContainer As IVsUIWPFElementContainerPrivate
Dim returnValue As Integer
returnValue = instance.CreateWPFUIElementContainer(szWindowType, _
hWndParent, pElement, pDataSource, _
pSite, ppElementContainer)
int CreateWPFUIElementContainer(
string szWindowType,
IntPtr hWndParent,
IVsUIElement pElement,
IVsUIDataSource pDataSource,
Object pSite,
out IVsUIWPFElementContainerPrivate ppElementContainer
)
int CreateWPFUIElementContainer(
[InAttribute] String^ szWindowType,
[InAttribute] IntPtr hWndParent,
[InAttribute] IVsUIElement^ pElement,
[InAttribute] IVsUIDataSource^ pDataSource,
[InAttribute] Object^ pSite,
[OutAttribute] IVsUIWPFElementContainerPrivate^% ppElementContainer
)
abstract CreateWPFUIElementContainer :
szWindowType:string *
hWndParent:IntPtr *
pElement:IVsUIElement *
pDataSource:IVsUIDataSource *
pSite:Object *
ppElementContainer:IVsUIWPFElementContainerPrivate byref -> int
function CreateWPFUIElementContainer(
szWindowType : String,
hWndParent : IntPtr,
pElement : IVsUIElement,
pDataSource : IVsUIDataSource,
pSite : Object,
ppElementContainer : IVsUIWPFElementContainerPrivate
) : int
Parameters
- szWindowType
Type: System.String
- hWndParent
Type: System.IntPtr
- pElement
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIElement
- pDataSource
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource
- pSite
Type: System.Object
- ppElementContainer
Type: Microsoft.Internal.VisualStudio.Shell.Interop.IVsUIWPFElementContainerPrivate%
Return Value
Type: System.Int32
.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.