ResultPropertyCollection.Contains(String) 方法

定义

确定具有指定名称的属性是否属于该集合。

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

参数

propertyName
String

要查找的属性的名称。

返回

如果指定的属性属于该集合,则返回值为 true;否则为 false

适用于