SPFileVersionCollection.DeleteByID method
從集合中移除指定的整數識別碼的檔案版本物件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub DeleteByID ( _
vid As Integer _
)
'用途
Dim instance As SPFileVersionCollection
Dim vid As Integer
instance.DeleteByID(vid)
public void DeleteByID(
int vid
)
參數
vid
Type: System.Int32要移除的檔案版本。
備註
這個方法會移除集合中的檔案版本資訊。