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