Apparently I don't understand the IsValueType property....
I am looping through the Cache and trying to determine if the object derives
from System.ValueType:
Dim CacheEnum As IDictionairyEnumerator = Cache.GetEnumerator()
While CacheEnum.MoveNext()
displayType(CacheEnum.Current.Value.GetType)
End While
Private Sub displayType(ByVal t as Type)
Response.write(t.IsValueType.ToString)
Response.write(t.BaseType.IsValueType.ToString)
End Sub
Now I just tried using the t.BaseType.IsValueType and t.IsValueType, but
they always return false.
Why is this?
I am putting Strings and Integers into the Cache. What am I doing wrong?