HandoutMasterPart.AddAudioPart Method (String, 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 HandoutMasterPart.

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

Syntax

'Declaration
Public Function AddAudioPart ( _
    contentType As String, _
    id As String _
) As AudioPart
'Usage
Dim instance As HandoutMasterPart
Dim contentType As String
Dim id As String
Dim returnValue As AudioPart

returnValue = instance.AddAudioPart(contentType, _
    id)
public AudioPart AddAudioPart(
    string contentType,
    string id
)

Parameters

  • contentType
    Type: System.String
    Specifies the content type of the AudioPart.

Return Value

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

See Also

Reference

HandoutMasterPart Class

HandoutMasterPart Members

AddAudioPart Overload

DocumentFormat.OpenXml.Packaging Namespace