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
- serviceType
Type: System.Type
Return Value
Type: System.Object
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IRuntimeServiceProvider Interface