asp.net - Get cache elements with key -
asp.net - Get cache elements with key -
in asp.net, have
idictionaryenumerator enumerator = cache.getenumerator();
to elements of cache objecs.
do have method cache objects start particular string. like
idictionaryenumerator enumerator = cache.getenumerator("%key%");
instead of
while (enumerator.movenext()) { if (enumerator.key.tostring().tolower().startswith("key")) { //code } }
you can seek this:
int = 0; while (i < cache.keys.length){ if (cache.keys(i).contains(keyname){ //code } else{ ++; } }
asp.net asp.net-caching asp.net-cache
Comments
Post a Comment