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!

IValueProvider.ProvideValue

Gets the value that the code expression represents or contains.

[Visual Basic]
Function ProvideValue( _
   ByVal component As Object, _
   ByVal propertyName As String, _
   ByVal exp As Object _
) As Object
[C#]
object ProvideValue(
   object component,
   string propertyName,
   object exp
);
[C++]
Object* ProvideValue(
   Object* component,
   String* propertyName,
   Object* exp
) = 0;
[JScript]
function ProvideValue(
   component : Object,
   propertyName : String,
   exp : Object
) : Object;

Parameters

component
The component that contains the value.
propertyName
The name of the property to retrieve the value for.
exp
The expression representing the property that is being depersisted.

Return Value

The value from the code expression.

See Also

IValueProvider Interface | IValueProvider Members | System.ComponentModel.Design Namespace