Returns whether or not the value provider is capable of providing a value.
[Visual Basic] Overridable Public Function CanProvideValue( _ ByVal component As Object, _ ByVal propertyName As String, _ ByVal exp As Object _ ) As Boolean [C#] public virtual bool CanProvideValue( object component, string propertyName, object exp ); [C++] public: virtual bool CanProvideValue( Object* component, String* propertyName, Object* exp ); [JScript] public function CanProvideValue( component : Object, propertyName : String, exp : Object ) : Boolean;
true if the value provider is capable of providing a value, false otherwise.
This is called for every expression found in the code. If the IValueProvider returns true, then the ProvideValue method will be called.
ValueProvider Class | ValueProvider Members | System.ComponentModel.Design Namespace