DataSourceDescriptorCollection.Contains(DataSourceDescriptor) 方法

定义

获取一个值,该值指示 DataSourceDescriptorCollection 是否包含指定的 DataSourceDescriptor

public:
 bool Contains(System::ComponentModel::Design::Data::DataSourceDescriptor ^ value);
public bool Contains (System.ComponentModel.Design.Data.DataSourceDescriptor value);
member this.Contains : System.ComponentModel.Design.Data.DataSourceDescriptor -> bool
Public Function Contains (value As DataSourceDescriptor) As Boolean

参数

返回

如果 DataSourceDescriptor 包含在集合中,则为 true;否则为 false

适用于