ListItemCreationInformation.UnderlyingObjectType 属性

获取或设置一个值,该值指定新列表项是一个文件还是一个文件夹。

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

语法

声明
Public Property UnderlyingObjectType As FileSystemObjectType
    Get
    Set
用法
Dim instance As ListItemCreationInformation
Dim value As FileSystemObjectType

value = instance.UnderlyingObjectType

instance.UnderlyingObjectType = value
public FileSystemObjectType UnderlyingObjectType { get; set; }

属性值

类型:Microsoft.SharePoint.Client.FileSystemObjectType
返回FileSystemObjectType.instance 表示新建列表项是否文件或文件夹。

备注

必须为以下值之一 ︰ 文件或文件夹。

另请参阅

引用

ListItemCreationInformation 类

ListItemCreationInformation 成员

Microsoft.SharePoint.Client 命名空间