ControlPropertyNameConverter.GetStandardValuesSupported Method (ITypeDescriptorContext)

Note: This method is new in the .NET Framework version 2.0.

Returns a value that indicates whether this object supports a standard set of values that can be chosen from a list, using the specified context.

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

public:
virtual bool GetStandardValuesSupported (
	ITypeDescriptorContext^ context
) override
public boolean GetStandardValuesSupported (
	ITypeDescriptorContext context
)
public override function GetStandardValuesSupported (
	context : ITypeDescriptorContext
) : boolean

Parameters

context

An ITypeDescriptorContext that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be a null reference (Nothing in Visual Basic).

Return Value

true if the context parameter is not a null reference (Nothing in Visual Basic); otherwise, false.

The GetStandardValuesSupported method returns a value that indicates whether this object supports a standard set of values.

The context parameter extracts additional information about the design-time environment from which this converter is invoked. This parameter can be a null reference (Nothing in Visual Basic), and properties on the context object can return a null reference (Nothing in Visual Basic). If the context parameter is a null reference (Nothing in Visual Basic), this method returns false.

Notes to Inheritors Override this method if the type you want to convert supports standard values.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: