다음을 통해 공유


ProfilesEditor.ValidateEntity Method

Validates the specified PickerEntity.

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

Syntax

'Declaration
Public Overrides Function ValidateEntity ( _
    entity As PickerEntity _
) As PickerEntity
'Usage
Dim instance As ProfilesEditor
Dim entity As PickerEntity
Dim returnValue As PickerEntity

returnValue = instance.ValidateEntity(entity)
public override PickerEntity ValidateEntity(
    PickerEntity entity
)

Parameters

Return Value

Type: Microsoft.SharePoint.WebControls.PickerEntity
The validated PickerEntity.

Remarks

This method searches for profiles that match the Key value. If a single profile is found, the PickerEntity is updated with the profile information. If multiple profiles are found, they are returned by calling the ResolveErrorBySearch method with the Key value.

See Also

Reference

ProfilesEditor Class

ProfilesEditor Members

Microsoft.SharePoint.Portal.WebControls Namespace