Home > Net >  How about lAssembly. The results of the GetTypes sort by name?
How about lAssembly. The results of the GetTypes sort by name?

Time:09-19

How about lAssembly. The results of the GetTypes sort by name?

CodePudding user response:

Access to the collection after orderby (d=& gt; D.n ame)..

CodePudding user response:

Dim t, t1 () As the Type
S=lAssembly. FullName
T1=lAssembly. GetTypes
'20200312 there is an unresolved problem, it is need to t1, g1 object by name, such as sorting
Try
System. Array. Sort (t1), 'this is an error
Catch the ex As Exception
Dim KKK As String=""
End the Try


Here to report errors,

CodePudding user response:

Try

C=lAssembly Dim. The GetTypes. Name. ToCharArray () OrderBy (Function (d) which oString ())

Or

Dim a=lAssembly. GetTypes. ToCharArray () OrderBy (Function (d) d.N ame)
  • Related