Share via


DocumentLibraryFileExistValidator.FireIfSecondary Property

Determines whether the library validator should be raised if other validators have already been raised.

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

Syntax

'Declaration
Public Property FireIfSecondary As Boolean
    Get
    Set
'Usage
Dim instance As DocumentLibraryFileExistValidator
Dim value As Boolean

value = instance.FireIfSecondary

instance.FireIfSecondary = value
public bool FireIfSecondary { get; set; }

Property Value

Type: System.Boolean
This property can be useful if there are multiple validators (such as a required field validator) and you do not want more than one error message.

See Also

Reference

DocumentLibraryFileExistValidator Class

DocumentLibraryFileExistValidator Members

Microsoft.SharePoint.Publishing.WebControls Namespace