MetadataProperties.Contains(String) 方法

定义

指示指定属性是否为当前元数据属性集的成员。

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

参数

name
String

属性的名称。

返回

如果指定属性为当前元数据属性集的成员,则为 true;否则为 false

适用于