Share via


Field.DataField Property

Gets or sets the name of the field in the query.

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

Syntax

'Declaration
Public Property DataField As String 
    Get 
    Set
'Usage
Dim instance As Field 
Dim value As String 

value = instance.DataField

instance.DataField = value
public string DataField { get; set; }
public:
property String^ DataField {
    String^ get ();
    void set (String^ value);
}
member DataField : string with get, set
function get DataField () : String 
function set DataField (value : String)

Property Value

Type: System.String
The name of the field in the query.

See Also

Reference

Field Class

Microsoft.ReportingServices.RdlObjectModel Namespace