This documentation is archived and is not being maintained.

ControlIDConverter.GetStandardValues Method (ITypeDescriptorContext)

Returns a collection of control IDs from the container within the IDesignerHost when provided with a format context.

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

public override StandardValuesCollection GetStandardValues (
	ITypeDescriptorContext context
)
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 holds a set of strings representing the control IDs of the controls in the current container. If no controls are currently contained, an empty collection is returned. If the context is a null reference (Nothing in Visual Basic) or there is no current container, then a null reference (Nothing in Visual Basic) is returned.

The FilterControl method is called on each control found in the container. The control ID is only added to the TypeConverter.StandardValuesCollection if the method returns true.

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
Show: