MenuCommandService::GetService Method (Type^)
.NET Framework (current version)
Gets a reference to the requested service.
Assembly: System.Design (in System.Design.dll)
Parameters
- serviceType
-
Type:
System::Type^
The Type of the service to retrieve.
Return Value
Type: System::Object^A reference to serviceType; otherwise, null if the service is not found.
| Exception | Condition |
|---|---|
| ArgumentNullException | serviceType is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: