Checks if the property exists in the collection.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
[ObsoleteAttribute("Exists has been marked as obsolete as it was often misused. Instead check if the EPiServer.Core.PageData.Property indexer returns null to see if the property exists or use the direct EPiServer.Core.PageData indexer and investigate if a null value is returned.", 
	true)]
public virtual bool Exists(
	string name
)

Parameters

name
Type: System..::.String

Return Value

true if the property exists; otherwise false.

Remarks

When overridden in a derived class, make sure that the indexer with a name parameter is syncronized with the override of this method.

See Also