IDynamicVisible.ConfigureVisibleEnumFields Method

Definition

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

values
ArrayList

Returns

Applies to