Condividi tramite


FileExtensionValidator.FireIfSecondary Property

Gets or sets whether the file name extension 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 FileExtensionValidator
Dim value As Boolean

value = instance.FireIfSecondary

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

Property Value

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

See Also

Reference

FileExtensionValidator Class

FileExtensionValidator Members

Microsoft.SharePoint.Publishing.WebControls Namespace