DisplaySource Class

Definition

Provides ownership of a source, allowing the owner to present frames.

public ref class DisplaySource sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DisplaySource final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DisplaySource
Public NotInheritable Class DisplaySource
Inheritance
DisplaySource
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

AdapterId

Gets the adapter ID associated with this DisplaySource.

SourceId

Gets an adapter-relative identifier for this source.

Methods

GetMetadata(Guid)

Retrieves dynamic metadata from the source.

Applies to