Udostępnij za pośrednictwem


DataSet.GetFieldByName Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the field by using the specified name.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Function GetFieldByName ( _
    name As String _
) As Field
'Usage
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

Parameters

Return Value

Type: Microsoft.ReportingServices.RdlObjectModel.Field
A Field object.

See Also

Reference

DataSet Class

Microsoft.ReportingServices.RdlObjectModel Namespace