hasMore() public method

Reports if there are more search results.
public hasMore ( ) : bool
return bool
示例#1
0
        private static LdapEntry[] toArray(LdapSearchResults results)
        {
            ArrayList entries;

            entries = new ArrayList();

            while(results.hasMore())
                entries.Add(results.next());

            return((LdapEntry[]) entries.ToArray(typeof(LdapEntry)));
        }