共用方式為


Workbook.RemoveDocumentInformation(XlRemoveDocInfoType) Method

Definition

Removes all information of the specified type from the workbook.

public:
 void RemoveDocumentInformation(Microsoft::Office::Interop::Excel::XlRemoveDocInfoType RemoveDocInfoType);
public void RemoveDocumentInformation (Microsoft.Office.Interop.Excel.XlRemoveDocInfoType RemoveDocInfoType);
abstract member RemoveDocumentInformation : Microsoft.Office.Interop.Excel.XlRemoveDocInfoType -> unit
Public Sub RemoveDocumentInformation (RemoveDocInfoType As XlRemoveDocInfoType)

Parameters

RemoveDocInfoType
XlRemoveDocInfoType

One of the Microsoft.Office.Interop.Excel.XlRemoveDocInfoType values that specifies the type of information to be removed.

Applies to