Gets whether the provider can provide a value for the specified expression.
[Visual Basic] Function CanProvideValue( _ ByVal component As Object, _ ByVal propertyName As String, _ ByVal exp As Object _ ) As Boolean [C#] bool CanProvideValue( object component, string propertyName, object exp ); [C++] bool CanProvideValue( Object* component, String* propertyName, Object* exp ) = 0; [JScript] function CanProvideValue( component : Object, propertyName : String, exp : Object ) : Boolean;
This method is called for every expression found in the code. If the IValueProvider returns true, then the ProvideValue method will be called.
IValueProvider Interface | IValueProvider Members | System.ComponentModel.Design Namespace