共用方式為


SPDocumentLibrary.IsCatalog property

取得布林值,這個值,指出文件庫是圖庫,例如網站範本、 清單範本、 Web 組件或主版頁面。

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

Syntax

'宣告
Public Property IsCatalog As Boolean
    Get
    Set
'用途
Dim instance As SPDocumentLibrary
Dim value As Boolean

value = instance.IsCatalog

instance.IsCatalog = value
public bool IsCatalog { get; set; }

Property value

Type: System.Boolean
true如果文件庫是庫 ;否則, false。

備註

設定IsCatalog屬性在SharePoint Foundation中有任何影響。

請參閱

參照

SPDocumentLibrary class

SPDocumentLibrary members

Microsoft.SharePoint namespace