PlayReadyHeader.AddAttribute(PlayReadyHeaderAttribute) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an attribute containing a name value pair to the header.
public void AddAttribute (Microsoft.Media.Drm.PlayReadyHeaderAttribute attribute);
member this.AddAttribute : Microsoft.Media.Drm.PlayReadyHeaderAttribute -> unit
Public Sub AddAttribute (attribute As PlayReadyHeaderAttribute)
Parameters
- attribute
- PlayReadyHeaderAttribute
The attribute to add.
Remarks
If a PlayReadyHeaderAttribute with the same Name already exists in this PlayReadyHeader, its value is overwritten.