共用方式為


MediaStreamSamplePropertySet.HasKey(Guid) 方法

定義

指出指定的索引鍵是否存在於屬性集中。

public:
 virtual bool HasKey(Platform::Guid key) = IMap<Platform::Guid, Platform::Object ^>::HasKey;
bool HasKey(winrt::guid const& key);
public bool HasKey(Guid key);
function hasKey(key)
Public Function HasKey (key As Guid) As Boolean

參數

key
Guid

Platform::Guid

winrt::guid

要進行檢查的按鍵。

傳回

Boolean

bool

如果索引鍵存在,則為true;否則為false

實作

適用於