This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
indicates whether the given property exists in the JSON object.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "Exists", IsExtensionMethod = true)]
public bool PropertyExists(
	string name
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "Exists", IsExtensionMethod := True)> _
Public Function PropertyExists ( _
	name As  _
) As 

Parameters

name
String
The name of the property. Use the . operator to query within nested objects.

Return Value

True if the property exists.

See Also

Advanced