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!

DataSourceConverter.IsValueAllowed

Gets whether or not the specified data source is valid for the control.

[Visual Basic]
Overrides Protected Function IsValueAllowed( _
   ByVal context As ITypeDescriptorContext, _
   ByVal value As Object _
) As Boolean
[C#]
protected override bool IsValueAllowed(
   ITypeDescriptorContext context,
   object value
);
[C++]
protected: override bool IsValueAllowed(
   ITypeDescriptorContext* context,
   Object* value
);
[JScript]
protected override function IsValueAllowed(
   context : ITypeDescriptorContext,
   value : Object
) : Boolean;

Parameters

context
An ITypeDescriptorContext indicating the component or control.
value
[To be supplied.]

Return Value

true if the data source is valid for the control, otherwise false.

See Also

DataSourceConverter Class | DataSourceConverter Members | System.Web.UI.Design Namespace