DesignSurfaceManager::GetService Method (Type^)
.NET Framework (current version)
Gets a service in the design surface manager’s service container.
Assembly: System.Design (in System.Design.dll)
Parameters
- serviceType
-
Type:
System::Type^
The service type to retrieve.
Return Value
Type: System::Object^An object that implements, or is a derived class of, the given service type; otherwise, null if the service does not exist in the service container.
Implements
IServiceProvider::GetService(Type^)The GetService method forwards to any service provider that was given to the design surface manager at construction time.
.NET Framework
Available since 2.0
Available since 2.0
Show: