 | VsServiceProviderExtensions.GetCommandWindowsCollection Method |
Namespace: Tvl.VisualStudio.ShellAssembly: Tvl.VisualStudio.ShellServices.10 (in Tvl.VisualStudio.ShellServices.10.dll) Version: 2.0.0.0
Syntaxpublic static IVsCommandWindowsCollection GetCommandWindowsCollection(
this SVsServiceProvider serviceProvider
)
<ExtensionAttribute>
Public Shared Function GetCommandWindowsCollection (
serviceProvider As SVsServiceProvider
) As IVsCommandWindowsCollection
public:
[ExtensionAttribute]
static IVsCommandWindowsCollection^ GetCommandWindowsCollection(
SVsServiceProvider^ serviceProvider
)
static member GetCommandWindowsCollection :
serviceProvider : SVsServiceProvider -> IVsCommandWindowsCollection
Parameters
- serviceProvider
- Type: Microsoft.VisualStudio.Shell.SVsServiceProvider
The service provider.
Return Value
Type:
IVsCommandWindowsCollectionThe
IVsCommandWindowsCollection service provided by the service provider, or
null if the service provider was not able to provide an instance of the service.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SVsServiceProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also