DataSourceParameters Constructor (FrameworkElement, IServiceProvider)
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
visualElement As FrameworkElement, _
serviceProvider As IServiceProvider _
)
'Utilisation
Dim visualElement As FrameworkElement
Dim serviceProvider As IServiceProvider
Dim instance As New DataSourceParameters(visualElement, _
serviceProvider)
public DataSourceParameters(
FrameworkElement visualElement,
IServiceProvider serviceProvider
)
public:
DataSourceParameters(
FrameworkElement^ visualElement,
IServiceProvider^ serviceProvider
)
new :
visualElement:FrameworkElement *
serviceProvider:IServiceProvider -> DataSourceParameters
public function DataSourceParameters(
visualElement : FrameworkElement,
serviceProvider : IServiceProvider
)
Parameters
- visualElement
Type: System.Windows.FrameworkElement
- serviceProvider
Type: System.IServiceProvider
.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.