Share via


HoldingEventArgs.CurrentContactCount プロパティ

定義

進行中の Windows.UI.Input.GestureRecognizer.Holding イベントの現在の接触ポイント数を取得します。

public:
 property unsigned int CurrentContactCount { unsigned int get(); };
uint32_t CurrentContactCount();
public uint CurrentContactCount { get; }
var uInt32 = holdingEventArgs.currentContactCount;
Public ReadOnly Property CurrentContactCount As UInteger

プロパティ値

UInt32

unsigned int

uint32_t

連絡先ポイントの数。

Windows の要件

デバイス ファミリ
Windows 10, version 2004 (10.0.19041.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v10.0 で導入)

注釈

ContactCount は 、現在のジェスチャの開始時に検出された連絡先の数を常に返します。

CurrentContactCount は、アクティブな連絡先の数を返します。 ジェスチャの開始後に連絡先を追加または削除できるため、この数値は ContactCount と等しい場合と等しくない場合があります。

適用対象