ControlPropertyNameConverter.GetStandardValues Method (ITypeDescriptorContext)
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).