Forum Discussion
marisolbritton
New Contributor III
Hi! If I want to sort on the default description do I just change it from Memberlistname to Memberdefaultdescription?
Mike_Sabourin
3 years agoContributor II
Yes. that should work.
- marisolbritton3 years agoNew Contributor III
Hi Michel!
I changed this to Memberdefaultdescription but it's giving me an error about it not being included in MemberListArgs. Any ideas on what I can try? Thanks
- Mike_Sabourin3 years agoContributor II
Sorry. Memberlistname is just the name of the list you're creating. What you'd want to do is change the .Name in the below part of the code to .Description...
If Not objMemberInfos Is Nothing Then objMembers = (From memberInfo In objMemberInfos Order By memberInfo.Member.Name Ascending Select memberInfo.Member).ToList() End If
Related Content
- 4 months ago