Partager via


ServerViewableItems.Delete Method

Deletes a reference to an object in the ServerViewableItems collection in the _Workbook.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub Delete ( _
    Index As Object _
)
'Usage
Dim instance As ServerViewableItems
Dim Index As Object

instance.Delete(Index)
void Delete(
    Object Index
)

Parameters

  • Index
    Type: System.Object

    Required Integer The index of the object you want to delete.

Remarks

If you do not want a particular object to be viewable in Excel Services, use this method to remove that object.

See Also

Reference

ServerViewableItems Interface

ServerViewableItems Members

Microsoft.Office.Interop.Excel Namespace