InDocumentLibrary Property

The InDocumentLibrary property of the SPFile class gets a Boolean value that indicates whether the file belongs to a document library.

Property Value

true if the file belongs to a document library; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security