EntityEditor.ValidateEntity Method
Accepts a PickerEntity object and validates it.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Function ValidateEntity ( _
needsValidation As PickerEntity _
) As PickerEntity
'Usage
Dim instance As EntityEditor
Dim needsValidation As PickerEntity
Dim returnValue As PickerEntity
returnValue = instance.ValidateEntity(needsValidation)
public virtual PickerEntity ValidateEntity(
PickerEntity needsValidation
)
Parameters
needsValidation
Type: Microsoft.SharePoint.WebControls.PickerEntityA picker entity object to be validated.
Return Value
Type: Microsoft.SharePoint.WebControls.PickerEntity
A picker entity object that has been processed with IsResolved set appropriately.
Remarks
This method must be overridden by the inheriting class. By default, it just returns the entity passed into it.