FlowDocumentScrollViewer.IServiceProvider.GetService Method

This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

'Declaration
Private Function GetService ( _
	serviceType As Type _
) As Object Implements IServiceProvider.GetService
'Usage
Dim instance As FlowDocumentScrollViewer 
Dim serviceType As Type 
Dim returnValue As Object 

returnValue = CType(instance, IServiceProvider).GetService(serviceType)
You cannot use methods in XAML.

Parameters

serviceType
Type: System.Type

Return Value

Type: System.Object

Implements

IServiceProvider.GetService(Type)

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft