Share via


BdcAccessor.Validator delegate

Used to configure a BdcAccessor object in order to filter which external content types are shown in an EntityPicker object. For more information, contact us.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Delegate Function Validator ( _
    metadataObject As IMetadataObject _
) As Boolean
'Usage
Dim instance As New Validator(AddressOf HandlerMethod)
public delegate bool Validator(
    IMetadataObject metadataObject
)

Parameters

Return value

Type: System.Boolean

Remarks

If a function with this signature returns true for a given external content type, that external content type will be shown in the EntityPicker. If the function returns False, the corresponding external content type will not be shown in the EntityPicker. Multiple Validator functions can be used with a single BdcAccessor, in which case all Validator functions must return true for a given external content type in order for that external content type to be shown in the EntityPicker.

See also

Reference

Microsoft.SharePoint.WebControls namespace