WindowPaneProviderService.GetService Method

Gets an instance of the requested service.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Protected Function GetService ( _
    serviceType As Type _
) As Object
'使用
Dim serviceType As Type
Dim returnValue As Object

returnValue = Me.GetService(serviceType)
protected Object GetService(
    Type serviceType
)
protected:
Object^ GetService(
    Type^ serviceType
)
protected function GetService(
    serviceType : Type
) : Object

Parameters

  • serviceType
    Type: System.Type

    The type of the requested service.

Return Value

Type: System.Object

The requested service, or a null reference (Nothing in Visual Basic) if it is not available.

Permissions

See Also

Reference

WindowPaneProviderService Class

WindowPaneProviderService Members

Microsoft.VisualStudio.Shell.Design Namespace