共用方式為


SPFileVersionCollection.DeleteByLabel method

刪除具有指定版本標籤的檔案版本物件。

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

Syntax

'宣告
Public Sub DeleteByLabel ( _
    versionlabel As String _
)
'用途
Dim instance As SPFileVersionCollection
Dim versionlabel As String

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

參數

備註

這個方法會清除集合中的檔案版本資訊。

請參閱

參照

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace