What is clearselection in built function purpose?

Bob Dang 1 Reputation point


A set of technologies in the .NET Framework for building web applications and XML web services.
3,411 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,629 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,071 Reputation points

    Hi @Bob Dang ,
    ClearSelection unselects any selected item. You might use this, for instance, after you've taken action on the user's selection. The available selections are left, but none of the items are selected.
    In your codes,for loop all the items and if one item's property is selected, it will change it unselected. And then continue to check the next item.

    Best regards,
    Yijing Sun

    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments