Click or drag to resize
PageUrlPathSlugUpdaterTryUpdate Method
Tries to update the slug.

Namespace: CMS.DocumentEngine.Routing.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public bool TryUpdate(
	string newUrlSlug,
	out IEnumerable<CollisionData> collidingPaths
)

Parameters

newUrlSlug
Type: SystemString
New slug value.
collidingPaths
Type: System.Collections.GenericIEnumerableCollisionData
List of colliding paths, if the update is not successful.

Return Value

Type: Boolean
true if the update is successful and there is no collision detected.
See Also