ControlPropertyNameConverter.GetStandardValues Method (ITypeDescriptorContext)

Returns a collection of property names for the control within a designer that implements IDesignerHost when provided with a format context.

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

public:
virtual StandardValuesCollection^ GetStandardValues (
	ITypeDescriptorContext^ context
) override
public StandardValuesCollection GetStandardValues (
	ITypeDescriptorContext context
)
public override function GetStandardValues (
	context : ITypeDescriptorContext
) : StandardValuesCollection
Not applicable.

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

A TypeConverter.StandardValuesCollection that contains a set of strings representing property names for the current control. If the current control is a null reference (Nothing in Visual Basic), an empty collection is returned. If the context parameter is a null reference (Nothing in Visual Basic), a null reference (Nothing in Visual Basic) is returned.

The GetStandardValues method returns a TypeConverter.StandardValuesCollection collection that contains a set of strings representing the names of the current control's properties.

Use the context parameter to extract 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 a null reference (Nothing in Visual Basic).

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: