Share via


CustomerData.Delete Method

Deletes the specified CustomXMLPart from the CustomerData collection of a CustomLayout, Master, Presentation, Shape, or Slide object.

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

Syntax

'Declaration
Sub Delete ( _
    Id As String _
)
'Usage
Dim instance As CustomerData
Dim Id As String

instance.Delete(Id)
void Delete(
    string Id
)

Parameters

Remarks

Individual CustomXMLPart objects in the CustomerData collection are represented by GUIDs (globally unique identifiers). Pass the GUID that represents the custom XML part that you want to delete to the Id parameter of the Delete method as a string. You can get the ID of a particular custom XML part by iterating through the collection, using the Id property of the CustomerData collection.

See Also

Reference

CustomerData Interface

CustomerData Members

Microsoft.Office.Interop.PowerPoint Namespace