DataSet.GetFieldNames 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets the field names of the dataset.

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Function GetFieldNames As IEnumerable(Of String)
用法
Dim instance As DataSet 
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetFieldNames()
public IEnumerable<string> GetFieldNames()
public:
IEnumerable<String^>^ GetFieldNames()
member GetFieldNames : unit -> IEnumerable<string> 
public function GetFieldNames() : IEnumerable<String>

返回值

类型:System.Collections.Generic.IEnumerable<String>
An IEnumerable<T> object.

请参阅

参考

DataSet 类

Microsoft.ReportingServices.RdlObjectModel 命名空间