SPFolder.ContainingDocumentLibrary property

Gets the GUID that identifies the document library that contains the folder, if one exists.

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

Syntax

'Declaration
Public ReadOnly Property ContainingDocumentLibrary As Guid
    Get
'Usage
Dim instance As SPFolder
Dim value As Guid

value = instance.ContainingDocumentLibrary
public Guid ContainingDocumentLibrary { get; }

Property value

Type: System.Guid
The GUID for the document library.

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace

DocumentLibrary