你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TwinCollection.Contains(String) 方法

定义

确定指定的属性是否存在。

public bool Contains (string propertyName);
member this.Contains : string -> bool
Public Function Contains (propertyName As String) As Boolean

参数

propertyName
String

要查找的属性

返回

如果指定的属性存在,则为 true;否则为 false

适用于