Windows apps
Collapse the table of content
Expand the table of content
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.

DataSourceIDConverter.GetStandardValuesExclusive Method (ITypeDescriptorContext)


Gets a value indicating whether the returned data source names are an exclusive list of possible values.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public override bool GetStandardValuesExclusive(
	ITypeDescriptorContext context


Type: System.ComponentModel.ITypeDescriptorContext

An object implementing the ITypeDescriptorContext that provides information about a context to a type converter so that the type converter can perform a conversion.

Return Value

Type: System.Boolean

Always false.

If you derive a class from the DataSourceIDConverter class and override the GetStandardValues method to return an exclusive list of data source names, also override the GetStandardValuesExclusive method to return true when the data source name list is exclusive.

The context parameter is not used by the GetStandardValuesExclusive.

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