Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServiceContainer::DefaultServices Property

 

Gets the default services implemented directly by ServiceContainer.

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

protected:
property array<Type^>^ DefaultServices {
	virtual array<Type^>^ get();
}

Property Value

Type: array<System::Type^>^

The default services.

This property returns the default services that are implemented directly on this IServiceContainer. the default implementation of this property is to return the IServiceContainer and ServiceContainer types. You may override this property and return your own types, modifying the default behavior of GetService.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft