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

实现

适用于