Share via


PeopleEditor.SetCannotBeBlankErrorMessage Method

Accepts a string and sets the CannotBeBlankErrorMessage property of the instances to the provided string.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub SetCannotBeBlankErrorMessage ( _
    errorMessage As String _
)
'Usage
Dim instance As PeopleEditor
Dim errorMessage As String

instance.SetCannotBeBlankErrorMessage(errorMessage)
public void SetCannotBeBlankErrorMessage(
    string errorMessage
)

Parameters

See Also

Reference

PeopleEditor Class

PeopleEditor Members

Microsoft.SharePoint.WebControls Namespace