Click or drag to resize
SerializationExtensionsSelectField Method
Selects only such FailedMappings which FieldName is same as fieldName from the failedMappings (comparison is case insensitive).

Namespace: CMS.DataEngine.Serialization
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static IEnumerable<FailedMapping> SelectField(
	this ICollection<FailedMapping> failedMappings,
	string fieldName
)

Parameters

failedMappings
Type: System.Collections.GenericICollectionFailedMapping
Collection of failed mappings (see DeserializationResult).
fieldName
Type: SystemString
Name of field that which failed TranslationReferences should be selected.

Return Value

Type: IEnumerableFailedMapping

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICollectionFailedMapping. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
fieldName comparison is case insensitive.
See Also