GraphicsCaptureItem クラス

定義

ピッカー コントロールで選択されたキャプチャのターゲット。

public ref class GraphicsCaptureItem sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GraphicsCaptureItem final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GraphicsCaptureItem
Public NotInheritable Class GraphicsCaptureItem
継承
Object Platform::Object IInspectable GraphicsCaptureItem
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)

注釈

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1809 17763 CreateFromVisual

プロパティ

DisplayName

キャプチャのターゲットの表示名 (アプリケーション タイトルなど)。

Size

キャプチャのターゲットのサイズ。

メソッド

CreateFromVisual(Visual)

指定されたビジュアルを表す GraphicsCaptureItem を構築 します

TryCreateFromDisplayId(DisplayId)

指定した DisplayId を持つディスプレイを表す GraphicsCaptureItem の作成を試みます。

TryCreateFromWindowId(WindowId)

指定した WindowId を持つウィンドウを表す GraphicsCaptureItem の作成を試みます。

イベント

Closed

キャプチャのターゲットが閉じられたときに発生するイベント。

適用対象

こちらもご覧ください