ServiceProvider.GetServiceImpl 方法 (Type)

提供用于检索特定类型的服务提供实现。

命名空间:  Microsoft.VisualStudio.Data
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
Protected Overridable Function GetServiceImpl ( _
    serviceType As Type _
) As Object
protected virtual Object GetServiceImpl(
    Type serviceType
)
protected:
virtual Object^ GetServiceImpl(
    Type^ serviceType
)
abstract GetServiceImpl : 
        serviceType:Type -> Object 
override GetServiceImpl : 
        serviceType:Type -> Object 
protected function GetServiceImpl(
    serviceType : Type
) : Object

参数

返回值

类型:System.Object
;如果未找到,返回指定类型的服务或返回 nullnull 引用(在 Visual Basic 中为 Nothing) 服务。

.NET Framework 安全性

请参见

参考

ServiceProvider 类

GetServiceImpl 重载

Microsoft.VisualStudio.Data 命名空间

IServiceProvider