WindowPaneProviderService.GetRegisteredPanes Method
Gets the registered set of window panes.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Protected Function GetRegisteredPanes ( _
extension As String _
) As WindowPaneProviderService.RegisteredWindowPane()
protected WindowPaneProviderService.RegisteredWindowPane[] GetRegisteredPanes(
string extension
)
Parameters
- extension
Type: System.String
The file extension for the retrieved panes.
Return Value
Type: array<Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.RegisteredWindowPane[]
An array of WindowPaneProviderService.RegisteredWindowPane objects.
Remarks
This method gets the array in the correct priority order of registered window panes for the file extension and language service, plus the global window panes. If the file extension is null or not registered, this method returns only the globally-registered window panes.
.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.