ISettingsProviderService::GetSettingsProvider Method (SettingsProperty^)

 

Returns the settings provider compatible with the specified settings property.

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

SettingsProvider^ GetSettingsProvider(
	SettingsProperty^ property
)

Parameters

property
Type: System.Configuration::SettingsProperty^

The SettingsProperty that requires serialization.

Return Value

Type: System.Configuration::SettingsProvider^

If found, the SettingsProvider that can persist the specified settings property; otherwise, null.

The GetSettingsProvider method enables an ISettingsProviderService to offer its serialization services to any sited component. This method determines if the associated settings provider can persist the specified application settings property type. If it can, this method returns a reference to that settings provider; otherwise it returns null.

.NET Framework
Available since 2.0
Return to top
Show: