| VsServiceProviderExtensionsGetComponentSelectorDialog2 Method |
Namespace: Tvl.VisualStudio.ShellAssembly: Tvl.VisualStudio.ShellServices.10 (in Tvl.VisualStudio.ShellServices.10.dll) Version: 2.0.0.0
Syntax public static IVsComponentSelectorDlg2 GetComponentSelectorDialog2(
this SVsServiceProvider serviceProvider
)
<ExtensionAttribute>
Public Shared Function GetComponentSelectorDialog2 (
serviceProvider As SVsServiceProvider
) As IVsComponentSelectorDlg2
public:
[ExtensionAttribute]
static IVsComponentSelectorDlg2^ GetComponentSelectorDialog2(
SVsServiceProvider^ serviceProvider
)
static member GetComponentSelectorDialog2 :
serviceProvider : SVsServiceProvider -> IVsComponentSelectorDlg2
Parameters
- serviceProvider
- Type: Microsoft.VisualStudio.ShellSVsServiceProvider
The service provider.
Return Value
Type:
IVsComponentSelectorDlg2The
IVsComponentSelectorDlg2 service provided by the service provider, or
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