DataViewSupport.GetService (Método)

Recupera el objeto de servicio para el tipo especificado.

Espacio de nombres:  Microsoft.VisualStudio.Data.Framework
Ensamblado:  Microsoft.VisualStudio.Data.Framework (en Microsoft.VisualStudio.Data.Framework.dll)

Sintaxis

'Declaración
Public Function GetService ( _
    serviceType As Type _
) As Object
public Object GetService(
    Type serviceType
)
public:
virtual Object^ GetService(
    Type^ serviceType
) sealed
abstract GetService : 
        serviceType:Type -> Object 
override GetService : 
        serviceType:Type -> Object 
public final function GetService(
    serviceType : Type
) : Object

Parámetros

  • serviceType
    Tipo: System.Type
    Tipo de objeto de servicio que se va a obtener.

Valor devuelto

Tipo: System.Object
Un objeto de servicio para el tipo especificado.

Implementaciones

IServiceProvider.GetService(Type)

Seguridad de .NET Framework

Vea también

Referencia

DataViewSupport Clase

Microsoft.VisualStudio.Data.Framework (Espacio de nombres)