SPFolder.Exists 属性

获取一个布尔值,该值指示该文件夹是否存在。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property Exists As Boolean
    Get
用法
Dim instance As SPFolder
Dim value As Boolean

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

属性值

类型:System.Boolean
true如果该文件夹存在 ;否则为false。

另请参阅

引用

SPFolder 类

SPFolder 成员

Microsoft.SharePoint 命名空间