Image.GetAsCastingSource Method

Definition

Returns the image as a CastingSource.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.Image.GetAsCastingSource.

public:
 virtual CastingSource ^ GetAsCastingSource() = GetAsCastingSource;
CastingSource GetAsCastingSource();
public CastingSource GetAsCastingSource();
function getAsCastingSource()
Public Function GetAsCastingSource () As CastingSource

Returns

CastingSource

The image as a CastingSource.

Remarks

For more info about using Image as a casting source, see Media casting.

Applies to

See also