Share via


DocumentLibraryFileExistValidator.DocumentLibrary property

Gets or sets the document library to search for the file.

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

Syntax

'Declaration
Public Property DocumentLibrary As SPDocumentLibrary
    Get
    Set
'Usage
Dim instance As DocumentLibraryFileExistValidator
Dim value As SPDocumentLibrary

value = instance.DocumentLibrary

instance.DocumentLibrary = value
public SPDocumentLibrary DocumentLibrary { get; set; }

Property value

Type: Microsoft.SharePoint.SPDocumentLibrary
An SPDocumentLibrary object.

See also

Reference

DocumentLibraryFileExistValidator class

DocumentLibraryFileExistValidator members

Microsoft.SharePoint.Publishing.WebControls namespace