Spread Windows Forms 6.0 Product Documentation
GetStandardValues(ITypeDescriptorContext) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > EventNameConverter Class > GetStandardValues Method : GetStandardValues(ITypeDescriptorContext) Method


context
An System.ComponentModel.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 null.

Glossary Item Box

Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function GetStandardValues( _
   ByVal context As ITypeDescriptorContext _
) As TypeConverter.StandardValuesCollection
Visual Basic (Usage)Copy Code
Dim instance As EventNameConverter
Dim context As ITypeDescriptorContext
Dim value As TypeConverter.StandardValuesCollection
 
value = instance.GetStandardValues(context)
C# 
public override TypeConverter.StandardValuesCollection GetStandardValues( 
   ITypeDescriptorContext context
)

Parameters

context
An System.ComponentModel.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 null.

Return Value

A System.ComponentModel.TypeConverter.StandardValuesCollection that holds a standard set of valid values, or null if the data type does not support a standard set of values.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.