skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DataFieldMappingCollection

Represents a collection of DataFieldMapping objects.

Inheritance
System.Object
System.Collections.ObjectModel.Collection<DataFieldMapping>
DataFieldMappingCollection
Inherited Members
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.Add(Telerik.Reporting.DataFieldMapping)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.Clear()
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.CopyTo(Telerik.Reporting.DataFieldMapping[], System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.Contains(Telerik.Reporting.DataFieldMapping)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.IndexOf(Telerik.Reporting.DataFieldMapping)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.Insert(System.Int32, Telerik.Reporting.DataFieldMapping)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.Remove(Telerik.Reporting.DataFieldMapping)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.ClearItems()
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.InsertItem(System.Int32, Telerik.Reporting.DataFieldMapping)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.SetItem(System.Int32, Telerik.Reporting.DataFieldMapping)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.Count
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.Items
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.Generic.ICollection<Telerik.Reporting.DataFieldMapping>.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.Reporting.DataFieldMapping>.System.Collections.IList.IsFixedSize
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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.

Was this article helpful?

Tell us how we can improve this article

Skip
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.