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