Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ContainingDocumentLibrary Property

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

public Guid ContainingDocumentLibrary { get; }

Property Value

Type: System.Guid
The GUID for the document library.
Show:
© 2015 Microsoft