PlayReadyLicenseIterator PlayReadyLicenseIterator PlayReadyLicenseIterator PlayReadyLicenseIterator Class

Definition

Provides for iteration of the PlayReadyLicense class.

public : sealed class PlayReadyLicenseIterator : IIteratorpublic sealed class PlayReadyLicenseIterator : IIteratorPublic NotInheritable Class PlayReadyLicenseIterator Implements IIterator// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Current Current Current Current

Gets the current item in the PlayReady license collection.

public : IPlayReadyLicense Current { get; }public IPlayReadyLicense Current { get; }Public ReadOnly Property Current As IPlayReadyLicense// You can use this property in JavaScript.
Value
IPlayReadyLicense IPlayReadyLicense IPlayReadyLicense IPlayReadyLicense

The current item in the PlayReady license collection.

HasCurrent HasCurrent HasCurrent HasCurrent

Gets a value that indicates whether there is a current item or the iterator is at the end of the PlayReady license collection.

public : PlatForm::Boolean HasCurrent { get; }public bool HasCurrent { get; }Public ReadOnly Property HasCurrent As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

true if the iterator refers to a valid item that is in the collection, or false if the iterator is at the end of the collection.

Methods

GetMany(IPlayReadyLicense[]) GetMany(IPlayReadyLicense[]) GetMany(IPlayReadyLicense[]) GetMany(IPlayReadyLicense[])

Retrieves all items in the PlayReady license collection.

public : unsigned int GetMany(IPlayReadyLicense[] items)public uint GetMany(IPlayReadyLicense[] items)Public Function GetMany(items As IPlayReadyLicense[]) As uint// You can use this method in JavaScript.
Parameters
items
IPlayReadyLicense[] IPlayReadyLicense[] IPlayReadyLicense[] IPlayReadyLicense[]

The items in the collection.

Returns
unsigned int uint uint uint

The number of items in the collection.

MoveNext() MoveNext() MoveNext() MoveNext()

Advances the enumerator to the next item in the collection.

public : PlatForm::Boolean MoveNext()public bool MoveNext()Public Function MoveNext() As bool// You can use this method in JavaScript.
Returns
PlatForm::Boolean bool bool bool

true if the iterator refers to a valid item that is in the collection or false if the iterator is at the end of the collection.