Share via


DefaultDocumentCollection.Remove method

Deletes a DefaultDocument object from this DefaultDocumentCollection object.

Namespace:  Microsoft.Office.DocumentManagement.DocumentSets
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Sub Remove ( _
    name As String _
)
'Usage
Dim instance As DefaultDocumentCollection
Dim name As String

instance.Remove(name)
public void Remove(
    string name
)

Parameters

  • name
    Type: System.String

    The name of the document to be removed.

See also

Reference

DefaultDocumentCollection class

DefaultDocumentCollection members

Microsoft.Office.DocumentManagement.DocumentSets namespace