MediaPlayer.GetAsCastingSource 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.
Gets a CastingSource representing the MediaPlayer, which allows its media to be cast to other devices.
public:
virtual CastingSource ^ GetAsCastingSource() = GetAsCastingSource;
CastingSource GetAsCastingSource();
public CastingSource GetAsCastingSource();
function getAsCastingSource()
Public Function GetAsCastingSource () As CastingSource
Returns
The casting source.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
For more information on casting media to remote devices, see Media casting.