PageLayoutValidator.ValidIfExists property

Gets or sets a value which indicates whether to check for the existence or absence of the page layout.

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 PageLayoutValidator
Dim value As Boolean

value = instance.ValidIfExists

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

Property value

Type: System.Boolean
true to check for existence; false to check for absence.

See also

Reference

PageLayoutValidator class

PageLayoutValidator members

Microsoft.SharePoint.Publishing.WebControls namespace