- service
- A service provided by the System.ComponentModel.Component.
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) |
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.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7