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
)
参数
versionlabel
类型:System.StringVersionLabel属性的格式中的版本。
备注
此方法清除集合中的文件版本信息。