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!

ValueProvider.GetExpressionLevel

Gets the expression level of the value for the specified property on the specified object.

[Visual Basic]
Overridable Public Function GetExpressionLevel( _
   ByVal component As Object, _
   ByVal property As PropertyDescriptor, _
   ByVal persistable As PersistableSupport _
) As ValueExpressionLevel
[C#]
public virtual ValueExpressionLevel GetExpressionLevel(
   object component,
   PropertyDescriptor property,
   PersistableSupport persistable
);
[C++]
public: virtual ValueExpressionLevel GetExpressionLevel(
   Object* component,
   PropertyDescriptor* property,
   PersistableSupport persistable
);
[JScript]
public function GetExpressionLevel(
   component : Object,
   property : PropertyDescriptor,
   persistable : PersistableSupport
) : ValueExpressionLevel;

Parameters

component
The component whose property is being persisted.
property
[To be supplied.]
persistable
[To be supplied.]

Return Value

A ValueExpressionLevel object representing the expression level of the specified property of the specified object.

Remarks

If a value provider returns anything but ValueExpressionLevel.NotSupported then it must return a non-null value from ProvideExpression.

See Also

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