skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class DataFieldMappingCollection

Represents a collection of DataFieldMapping objects.

Inheritance
System.Object
System.Collections.ObjectModel.Collection<DataFieldMapping>
DataFieldMappingCollection
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll

Syntax

public class DataFieldMappingCollection : Collection<DataFieldMapping>, IList<DataFieldMapping>, ICollection<DataFieldMapping>, IList, ICollection, IReadOnlyList<DataFieldMapping>, IReadOnlyCollection<DataFieldMapping>, IEnumerable<DataFieldMapping>, IEnumerable
Remarks

Represents a collection of mappings for the fields of a data source and their corresponding short aliases used for data binding in expressions.

Constructors

DataFieldMappingCollection()

Initializes a new instance of the DataFieldMappingCollection class.

Declaration
public DataFieldMappingCollection()

DataFieldMappingCollection(DataFieldMapping[])

Initializes a new instance of the DataFieldMappingCollection class.

Declaration
public DataFieldMappingCollection(DataFieldMapping[] mappings)
Parameters
DataFieldMapping[] mappings

Specifies a range of mappings to add to the collection.

DataFieldMappingCollection(DataFieldMappingCollection)

Initializes a new instance of the DataFieldMappingCollection class.

Declaration
public DataFieldMappingCollection(DataFieldMappingCollection mappings)
Parameters
DataFieldMappingCollection mappings

Specifies a range of mappings to add to the collection.

Properties

Item[String]

Gets the mapping of the specified field from the collection.

Declaration
public DataFieldMapping this[string name] { get; }
Parameters
System.String name

Specifies the name of a field from the collection.

Property Value
DataFieldMapping

The mapping of the specified field from the collection.

Methods

Add(String, String)

Adds a new mapping for the specified field to the collection.

Declaration
public void Add(string name, string alias)
Parameters
System.String name

Specifies the name of the field for the new mapping.

System.String alias

Specifies the alias of the field for the new mapping.

AddRange(IEnumerable<DataFieldMapping>)

Adds a range of mappings to the collection.

Declaration
public void AddRange(IEnumerable<DataFieldMapping> mappings)
Parameters
System.Collections.Generic.IEnumerable<DataFieldMapping> mappings

Specifies a range of mappings to add to the collection.

AddRange(DataFieldMappingCollection)

Adds a range of mappings to the collection.

Declaration
public void AddRange(DataFieldMappingCollection mappings)
Parameters
DataFieldMappingCollection mappings

Specifies a range of mappings to add to the collection.

Contains(String)

Determines if the collection contains a mapping for the specified field.

Declaration
public bool Contains(string name)
Parameters
System.String name

Specifies the name of a field from the collection.

Returns
System.Boolean

True if a mapping for the specified field exists, False otherwise.

ToArray()

Converts the collection to an array of mappings.

Declaration
public DataFieldMapping[] ToArray()
Returns
DataFieldMapping[]

Array of mappings contained in the collection.

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.