Skip to main content

MVCxAppointmentCustomFieldMappingCollection.Add(String, String) Method

Creates and adds a new mapping to the collection of custom field mappings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public ASPxAppointmentCustomFieldMapping Add(
    string name,
    string member
)

Parameters

Name Type Description
name String

A String value that specifies the name of the custom field. This value is assigned to the CustomFieldMappingBase<T>.Name property.

member String

A String value that specifies the member (data field name) value of the custom field mapping. This value is assigned to the ASPxAppointmentCustomFieldMapping.Member property.

Returns

Type Description
ASPxAppointmentCustomFieldMapping

A ASPxAppointmentCustomFieldMapping object that is the newly added mapping.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(String, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also