SPFileVersionCollection.DeleteByLabel 方法

删除具有指定版本标签的文件版本对象。

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

语法

声明
Public Sub DeleteByLabel ( _
    versionlabel As String _
)
用法
Dim instance As SPFileVersionCollection
Dim versionlabel As String

instance.DeleteByLabel(versionlabel)
public void DeleteByLabel(
    string versionlabel
)

参数

备注

此方法清除集合中的文件版本信息。

另请参阅

引用

SPFileVersionCollection 类

SPFileVersionCollection 成员

Microsoft.SharePoint 命名空间