共用方式為


SPFolder.Exists property

取得布林值,這個值,指出資料夾是否存在。

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

Syntax

'宣告
Public ReadOnly Property Exists As Boolean
    Get
'用途
Dim instance As SPFolder
Dim value As Boolean

value = instance.Exists
public bool Exists { get; }

Property value

Type: System.Boolean
true如果資料夾已經存在。否則, false。

請參閱

參照

SPFolder class

SPFolder members

Microsoft.SharePoint namespace