Share via


MasterKeySet.GetRegionSet(Int32) Method

Definition

Gets the region set identified by a given region set identifier.

public Microsoft.Media.Drm.RegionSet GetRegionSet (int regionSetId);
member this.GetRegionSet : int -> Microsoft.Media.Drm.RegionSet
Public Function GetRegionSet (regionSetId As Integer) As RegionSet

Parameters

regionSetId
Int32

The region set identifier that identifies the region set to retrieve.

Returns

The RegionSet identified by the specified regionSetId or null if no region set is identified by regionSetId.

Exceptions

Thrown if regionSetId is less than zero or greater than MaxValue.

Applies to