Share via


DataSet.GetDataFieldByFieldName Method

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

Gets the data field by using the specified field name.

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

Syntax

'Declaration
Public Function GetDataFieldByFieldName ( _
    fieldName As String _
) As String
'Usage
Dim instance As DataSet 
Dim fieldName As String 
Dim returnValue As String 

returnValue = instance.GetDataFieldByFieldName(fieldName)
public string GetDataFieldByFieldName(
    string fieldName
)
public:
String^ GetDataFieldByFieldName(
    String^ fieldName
)
member GetDataFieldByFieldName : 
        fieldName:string -> string
public function GetDataFieldByFieldName(
    fieldName : String
) : String

Parameters

Return Value

Type: System.String
The data field.

See Also

Reference

DataSet Class

Microsoft.ReportingServices.RdlObjectModel Namespace