Share via


DocumentLibraryFileExistValidator.ValidIfExists property

Gets or sets a value that determines if the file will be checked for itsexistence or absence.

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

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property ValidIfExists As Boolean
    Get
    Set
'Usage
Dim instance As DocumentLibraryFileExistValidator
Dim value As Boolean

value = instance.ValidIfExists

instance.ValidIfExists = value
[BindableAttribute(true)]
public bool ValidIfExists { get; set; }

Property value

Type: System.Boolean
A Boolean value.

Remarks

true if the file's existence will be confirmed; false if the file's absence will be confirmed.

See also

Reference

DocumentLibraryFileExistValidator class

DocumentLibraryFileExistValidator members

Microsoft.SharePoint.Publishing.WebControls namespace