Share via


AdvancedLicense.AddRight(Right) Method

Definition

Adds a Right to the license.

public void AddRight (Microsoft.Media.Drm.Right right);
member this.AddRight : Microsoft.Media.Drm.Right -> unit
Public Sub AddRight (right As Right)

Parameters

right
Right

Right to be added to the license

Exceptions

The specified right has already been added to this license.

The specified right is invalid for a license of this type. Refer to each derived class to determine which types of rights can be added to which types of licenses.

Applies to