NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ResourceValueProvider.CanProvideValue

Called for every expression found in the code. If the IValueProvider returns true, then the ProvideValue method will be called.

[Visual Basic]
Overrides Public Function CanProvideValue( _
   ByVal component As Object, _
   ByVal propertyName As String, _
   ByVal exp As Object _
) As Boolean
[C#]
public override bool CanProvideValue(
   object component,
   string propertyName,
   object exp
);
[C++]
public: override bool CanProvideValue(
   Object* component,
   String* propertyName,
   Object* exp
);
[JScript]
public override function CanProvideValue(
   component : Object,
   propertyName : String,
   exp : Object
) : Boolean;

Parameters

component
The component whose property is being depersisted.
propertyName
The property that is being depersisted.
exp
The expression to determine if this value provider can provide a value for.

See Also

ResourceValueProvider Class | ResourceValueProvider Members | System.ComponentModel.Design Namespace