Sound Class

Sound.When the object is serialized out as xml, its qualified name is p:snd.

Inheritance Hierarchy


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


Public Class Sound _
    Inherits EmbeddedWavAudioFileType
Dim instance As Sound
public class Sound : EmbeddedWavAudioFileType


[ISO/IEC 29500-1 1st Edition]

19.5.68 snd (Sound)

This element specifies the audio information to play during a slide transition.

[Example: Consider a slide transition with an audio effect. The <snd> element should be used as follows:

                <p:snd r:embed="rId2" r:link="rId3"/>

end example]

Parent Elements

stSnd (§19.5.76)



embed (Embedded Audio File Relationship ID)

Namespace: .../officeDocument/2006/relationships

Specifies the identification information for an embedded audio file. This attribute is used to specify the location of an object that resides locally within the file. [Note: A list of suggested audio types is provided in §15.2.2. end note]

The possible values for this attribute are defined by the ST_RelationshipId simple type (§

name (Sound Name)

Namespace: .../drawingml/2006/main

Specifies the original name or given short name for the corresponding sound. This is used to distinguish this sound from others by providing a human readable name for the attached sound should the user need to identify the sound among others within the UI.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_EmbeddedWAVAudioFile) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Sound Members

DocumentFormat.OpenXml.Presentation Namespace