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.GetExpressionLevel

Gets the level of support to generate an expression for the specified property on the specified object.

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

Parameters

component
The component whose property is being persisted.
property
[To be supplied.]
persistable
The PersistableAttribute for the property in the current context.

Remarks

If a value provider returns anything but NotSupported then it must return a non- a null reference (in Visual Basic Nothing) value from ProvideExpression.

See Also

IValueProvider Interface | IValueProvider Members | System.ComponentModel.Design Namespace | PropertyDescriptor | PersistableSupport | ValueExpressionLevel