PageUrlPathSlugUpdaterTryUpdate Method |
Tries to update the slug.
Namespace: CMS.DocumentEngine.Routing.InternalAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax 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:
Booleantrue if the update is successful and there is no collision detected.
See Also