Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to sort a collection
Message
De
03/02/2012 10:49:49
 
 
À
03/02/2012 10:32:43
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01534397
Message ID:
01534400
Vues:
50
This seems to do the trick:
            ' Sort the toolbar
            For lnCounter = 1 To oToolbar.Count

                ' For each toolbar
                For Each loObject In oToolbar

                    ' If this is equal to our actual position
                    If lnCounter = loObject(2) Then

                        ' Add this item in the new collection
                        oToolbarSorted.Add(loObject)

                    End If

                Next

            Next
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform