共用方式為


SPFolder.ContainingDocumentLibrary property

取得如果有的話,識別包含該資料夾的文件庫的 GUID。

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

Syntax

'宣告
Public ReadOnly Property ContainingDocumentLibrary As Guid
    Get
'用途
Dim instance As SPFolder
Dim value As Guid

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

Property value

Type: System.Guid
文件庫的 GUID。

請參閱

參照

SPFolder class

SPFolder members

Microsoft.SharePoint namespace

DocumentLibrary