Export (0) Print
Expand All

LicenseContext::GetService Method

Gets the requested service, if it is available.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

public:
virtual Object^ GetService(
	Type^ type
)

Parameters

type
Type: System::Type

The type of service to retrieve.

Return Value

Type: System::Object
An instance of the service, or nullptr if the service cannot be found.

Implements

IServiceProvider::GetService(Type)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft