Share via


DocumentLibraryFileExistValidator.FireIfSecondary property

Gets or sets whether the library validator should be raised if other validators are already 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

Remarks

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