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
errorMessage
Type: System.StringThe error message.