LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
GetService Method
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : GetService Method



service
A service provided by the System.ComponentModel.Component.
service
A service provided by the System.ComponentModel.Component.
Returns an object that represents a service provided by the System.ComponentModel.Component or by its System.ComponentModel.Container.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function GetService( _
   ByVal service As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim service As Type
Dim value As Object
 
value = instance.GetService(service)
C# 
protected virtual object GetService( 
   Type service
)
C++/CLI 
protected:
virtual Object^ GetService( 
   Type^ service
) 

Parameters

service
A service provided by the System.ComponentModel.Component.

Return Value

An System.Object that represents a service provided by the System.ComponentModel.Component, or null if the System.ComponentModel.Component does not provide the specified service.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features