MediaBookmark Class

Defines the MediaBookmark Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is p14:bmk.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.PowerPoint.MediaBookmark

Namespace:  DocumentFormat.OpenXml.Office2010.PowerPoint
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class MediaBookmark _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As MediaBookmark
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class MediaBookmark : OpenXmlLeafElement

Remarks

2.5.8 CT_MediaBookmark

Target namespace: https://schemas.microsoft.com/office/2007/6/19/audiovideo

Referenced by: CT_MediaBookmarkList

A complex type that specifies a bookmark time on a media.

Attributes:

name : An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name for the bookmark. The bookmark name MUST be unique among all bookmarks in its parent CT_MediaBookmarkList.

time : An ST_MediaTime attribute that specifies the time of the bookmark relative to the beginning of the media. It MUST be unique among all bookmarks in its parent CT_MediaBookmarkList. It MUST be less than or equal to the length of the media.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_MediaBookmark">

<xsd:attribute name="name" type="xsd:string"/>

<xsd:attribute name="time" type="ST_MediaTime"/>

</xsd:complexType>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

Reference

MediaBookmark Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace