共用方式為


SPFolder.ParentListId Property

Gets the ID for the parent list of the folder.

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

Syntax

Public ReadOnly Property ParentListId As Guid
    Get

Dim instance As SPFolder
Dim value As Guid

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

Property Value

Type: System.Guid
A System.Guid object that identifies the folder.

See Also

Reference

SPFolder Class

SPFolder Members

Microsoft.SharePoint Namespace