Share via


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