共用方式為


DataSet.GetFieldByName 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets the field by using the specified name.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Function GetFieldByName ( _
    name As String _
) As Field
'用途
Dim instance As DataSet 
Dim name As String 
Dim returnValue As Field 

returnValue = instance.GetFieldByName(name)
public Field GetFieldByName(
    string name
)
public:
Field^ GetFieldByName(
    String^ name
)
member GetFieldByName : 
        name:string -> Field
public function GetFieldByName(
    name : String
) : Field

參數

傳回值

型別:Microsoft.ReportingServices.RdlObjectModel.Field
A Field object.

請參閱

參考

DataSet 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間