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
'宣言
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
)
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.