次の方法で共有


DataSet.GetFieldByName メソッド

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

指定した名前を使用してフィールドを取得します。

名前空間:  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
Field オブジェクト。

関連項目

参照

DataSet クラス

Microsoft.ReportingServices.RdlObjectModel 名前空間