Click or drag to resize
ContactInfoObjectQueryExtensionsNotWithAge Method

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 11.0.0
Syntax
C#
public static ObjectQuery<ContactInfo> NotWithAge(
	this ObjectQuery<ContactInfo> contactsQuery,
	int yearsOld
)

Parameters

contactsQuery
Type: CMS.DataEngineObjectQueryContactInfo
yearsOld
Type: SystemInt32

Return Value

Type: ObjectQueryContactInfo

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ObjectQueryContactInfo. 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).
Exceptions
ExceptionCondition
ArgumentNullExceptioncontactsQuery is null
See Also