共用方式為


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 命名空間