Click or drag to resize
IObjectQueryExtensionsGetExistingItemForContact Method
Returns existing form item from given query for given contactGuid.

Namespace: CMS.OnlineForms
Assembly: CMS.OnlineForms (in CMS.OnlineForms.dll) Version: 12.0.0
Syntax
C#
public static BizFormItem GetExistingItemForContact(
	this ObjectQuery<BizFormItem> query,
	BizFormInfo formInfo,
	Nullable<Guid> contactGuid
)

Parameters

query
Type: CMS.DataEngineObjectQueryBizFormItem
Object query of form items.
formInfo
Type: CMS.OnlineFormsBizFormInfo
Form description.
contactGuid
Type: SystemNullableGuid
Guid of contact.

Return Value

Type: BizFormItem
Instance of BizFormItem when such item exists, false otherwise.

Usage Note

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