Windows Media Player SDK banner art
PreviousNext

ENTRYREF Element

The ENTRYREF element points to the ENTRY elements in an external metafile.

Syntax

<ENTRYREF
   href="URL"
/>

Attributes 

  HREF (required)

URL to a referenced Metafile.

  CLIENTBIND

This attribute is no longer supported.

Parent/Child Elements

Hierarchy Elements
Parent elements ASX, EVENT, REPEAT
Child elements None

Remarks

This element points to the contents of an external metafile. The Windows Media Player control processes the ENTRY elements of the referenced metafile as if they were included in the primary metafile at the position of the ENTRYREF element. However, it skips any ENTRY elements in the referenced metafile that have the SKIPIFREF attribute set to YES.

The Windows Media Player control ignores any ENTRYREF elements in the referenced metafile. Thus, metafiles can only be nested one level deep. Windows Media Player also ignores the ASX element in the referenced file along with its attributes.

If a user adds a Favorites entry to a piece of content defined in the included metafile, Windows Media Player uses the URL to the metafile referenced in the ENTRYREF element.

Example Code

<ASX VERSION="3.0">
   <TITLE>Example of Using EntryRef</TITLE>
   <ENTRYREF href="http://samples.microsoft.com/metafile.asx" />
</ASX>

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.