DataSourceCollection.CreateInstance Method (IVsUICollection, Window, IServiceProvider)
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function CreateInstance ( _
uiCollection As IVsUICollection, _
window As Window, _
provider As IServiceProvider _
) As DataSourceCollection
public static DataSourceCollection CreateInstance(
IVsUICollection uiCollection,
Window window,
IServiceProvider provider
)
public:
static DataSourceCollection^ CreateInstance(
IVsUICollection^ uiCollection,
Window^ window,
IServiceProvider^ provider
)
static member CreateInstance :
uiCollection:IVsUICollection *
window:Window *
provider:IServiceProvider -> DataSourceCollection
public static function CreateInstance(
uiCollection : IVsUICollection,
window : Window,
provider : IServiceProvider
) : DataSourceCollection
Parameters
- uiCollection
Type: Microsoft.VisualStudio.Shell.Interop.IVsUICollection
- window
Type: System.Windows.Window
- provider
Type: System.IServiceProvider
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.DataSourceCollection
.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.