HierarchyProvider.IServiceProvider.GetService(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calls the GetService(Type) method.
virtual System::Object ^ System.IServiceProvider.GetService(Type ^ serviceType) = IServiceProvider::GetService;
object IServiceProvider.GetService (Type serviceType);
Function GetService (serviceType As Type) As Object Implements IServiceProvider.GetService
Parameters
- serviceType
- Type
The Type object of the requested IServiceProvider interface.
Returns
The requested service object, or null
if the service does not exist.
Implements
Remarks
For more information, see the GetService method.