Create “Protected ReadOnly Property AllFieldNamesStringCollection() As StringCollection” method for use with QueryInformation objects. Currently, you must use the following construct (C#):
string[] allFields = this.AllFieldsList.ToArray();
queryInfo.Fields = StringBasics.CreateStringCollection(allFields);
This should be encapsulated in this new method as follows:
string() allFields = Me.AllFieldsList.ToArray();
return StringBasics.CreateStringCollection(allFields);
You can add the fields through the AllFieldsList property with one line of code (after the QueryInformation constructor).
QueryInformation
There's no need to create another string collection object, since the QueryInformation class is initialized with an empty string collection. Just AddRange the fields list to an array.