Partilhar via


TaxonomyWebTaggingControl.SetCannotBeBlankErrorMessage Method

Sets a message to be shown if the field is empty.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

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

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

Parameters

  • errorMessage
    Type: System.String

    Error message to be shown if the field is empty

See Also

Reference

TaxonomyWebTaggingControl Class

TaxonomyWebTaggingControl Members

Microsoft.SharePoint.Taxonomy Namespace