SlideMasterPart.AddAudioPart Method (AudioPartType, String)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Adds an AudioPart to the SlideMasterPart.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Function AddAudioPart ( _
    partType As AudioPartType, _
    id As String _
) As AudioPart
Dim instance As SlideMasterPart
Dim partType As AudioPartType
Dim id As String
Dim returnValue As AudioPart

returnValue = instance.AddAudioPart(partType, _
public AudioPart AddAudioPart(
    AudioPartType partType,
    string id


Return Value

Type: DocumentFormat.OpenXml.Packaging.AudioPart
Returns the newly added part.

See Also


SlideMasterPart Class

SlideMasterPart Members

AddAudioPart Overload

DocumentFormat.OpenXml.Packaging Namespace