Partager via


PlayReadyHeader.FromXmlNode(IXPathNavigable) Method

Definition

Constructs a PlayReadyHeader from its IXPathNavigable representation.

public static Microsoft.Media.Drm.PlayReadyHeader FromXmlNode (System.Xml.XPath.IXPathNavigable xmlObject);
static member FromXmlNode : System.Xml.XPath.IXPathNavigable -> Microsoft.Media.Drm.PlayReadyHeader
Public Shared Function FromXmlNode (xmlObject As IXPathNavigable) As PlayReadyHeader

Parameters

xmlObject
IXPathNavigable

The IXPathNavigable representation of the header

Returns

A PlayReadyHeader parsed from the xmlObject.

Exceptions

The xmlObject is not an XmlNode.

The xmlObject is an invalid header.

Applies to