DataExtensionContainsField Method

Evaluates whether the model list DataField contains a model that matches the given name.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static bool ContainsField(
	this List<DataField> data,
	string field
)

Parameters

data  ListDataField
List<DataField> with the information field.
field  String
Field name.

Return Value

Boolean
if the list contains the searched element; otherwise, .

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListDataField. 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).

See Also