共用方式為


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
protected Object GetService(
    Type serviceType
)

Parameters

  • serviceType
    Type: System.Type
    The type of the requested service.

Return Value

Type: System.Object
The requested service, or nulla null reference (Nothing in Visual Basic) if it is not available.

.NET Framework Security

See Also

Reference

WindowPaneProviderService Class

Microsoft.VisualStudio.Shell.Design Namespace