DesignTimeData.GetDataFields(IEnumerable) 方法

定义

获取指定数据源的数据字段的属性描述符集合。

public:
 static System::ComponentModel::PropertyDescriptorCollection ^ GetDataFields(System::Collections::IEnumerable ^ dataSource);
public static System.ComponentModel.PropertyDescriptorCollection GetDataFields(System.Collections.IEnumerable dataSource);
static member GetDataFields : System.Collections.IEnumerable -> System.ComponentModel.PropertyDescriptorCollection
Public Shared Function GetDataFields (dataSource As IEnumerable) As PropertyDescriptorCollection

参数

dataSource
IEnumerable

要从中检索数据字段的数据源。

返回

描述 PropertyDescriptorCollection 指定数据源的数据字段的对象。

适用于

另请参阅