Error in name of LogosDataType.ShortTitle Property as seen by VB.NET 2010 Object Browser.
OK - maybe this one really is SORT, as in put in some kind of order.
I'll go hide under my rock again ... [:^)]
You are correct – SortTitle can be used to properly sort a list of data types by title.
For example, the Title of the ApostlesCreed data type is “The Apostle’s Creed”, but the SortTitle is just “Apostle’s Creed”. You'd sort data types by the latter so that all of the data type titles that start with “The” don't sort together.
var dataTypes = new[] { "Bible", "ApostlesCreed", "LouwNida", "CanonsOfDort" } .Select(name => app.DataTypes.GetDataType(name)) .OrderBy(dt => dt.SortTitle);foreach (var dataType in dataTypes) Console.WriteLine(dataType.Title);
Thanks Ed (and the other post too).
- Jim T.
Available Now
Build your biblical library with a new trusted commentary or resource every month. Yours to keep forever.