Chart.GetService Method (Type)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the requested chart service.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public object GetService(
	Type serviceType
)

Parameters

serviceType
Type: System.Type

The type of requested chart service.

Return Value

Type: System.Object

An Object that represents the service type or null if the service cannot be found.

.NET Framework
Available since 4.0
Return to top
Show: