ICommonDynamicVisible.ConfigureVisibleEnumFields Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removing items from the values list and returning that new list will control the values shown in the Enum specified in context.
The enum can be determined with code similar to the following if (context.PropertyDescriptor.PropertyType == typeof(myEnum))
public System.Collections.ICollection ConfigureVisibleEnumFields (System.ComponentModel.ITypeDescriptorContext context, System.Collections.ArrayList values);
abstract member ConfigureVisibleEnumFields : System.ComponentModel.ITypeDescriptorContext * System.Collections.ArrayList -> System.Collections.ICollection
Public Function ConfigureVisibleEnumFields (context As ITypeDescriptorContext, values As ArrayList) As ICollection
Parameters
- context
- ITypeDescriptorContext
- values
- ArrayList