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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.