AudienceEditor.ValidateEntity Method
Validates the text entry in the AudienceEditor.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Overrides Function ValidateEntity ( _
entity As PickerEntity _
) As PickerEntity
'Usage
Dim instance As AudienceEditor
Dim entity As PickerEntity
Dim returnValue As PickerEntity
returnValue = instance.ValidateEntity(entity)
public override PickerEntity ValidateEntity(
PickerEntity entity
)
Parameters
- entity
Type: Microsoft.SharePoint.WebControls.PickerEntity
The text entered for the audience name.
Return Value
Type: Microsoft.SharePoint.WebControls.PickerEntity