IRuntimeServiceProvider.GetService Method (2003 System)

This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Function GetService ( _
    serviceType As Type _
) As Object
'Usage
Dim instance As IRuntimeServiceProvider
Dim serviceType As Type
Dim returnValue As Object

returnValue = instance.GetService(serviceType)
Object GetService(
    Type serviceType
)

Parameters

Return Value

Type: System.Object

Permissions

See Also

Reference

IRuntimeServiceProvider Interface

IRuntimeServiceProvider Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace