Compartilhar via


PublishingWeb.DocumentsLibrary Property

Gets the designated Documents list of the current PublishingWeb object.

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

Syntax

'Declaration
Public ReadOnly Property DocumentsLibrary As SPDocumentLibrary
    Get
'Usage
Dim instance As PublishingWeb
Dim value As SPDocumentLibrary

value = instance.DocumentsLibrary
public SPDocumentLibrary DocumentsLibrary { get; }

Property Value

Type: Microsoft.SharePoint.SPDocumentLibrary
Returns SPDocumentLibrary.

See Also

Reference

PublishingWeb Class

PublishingWeb Members

Microsoft.SharePoint.Publishing Namespace