SerializationExtensionsContainsField Method |
Returns if provided fieldName has at least one reference
in the failedMappings collection.
Namespace: CMS.DataEngine.SerializationAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public static bool ContainsField(
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 might be present in the collection
Return Value
Type:
BooleanUsage 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