D
Dan Holmes
Given the Class named KeyValue is the declaration for the Dictionary
version correct? I can't get the IDE to like it. This is VS2005 beta
2. I think i am doing something wrong but i don't see it.
Public Class KeyValue
Dim _keyID As FieldAttributes
Dim _value As FieldAttributes
'public accessors omitted
End Class
Public Class KeyValueDictionary(Of KeyValue) : Inherits DictionaryBase
Public Sub Add(ByVal value As KeyValue)
Dictionary.Add(value.keyID.value, value) 'ide doesn't like this line.
End Sub 'Add
end Class
dan
version correct? I can't get the IDE to like it. This is VS2005 beta
2. I think i am doing something wrong but i don't see it.
Public Class KeyValue
Dim _keyID As FieldAttributes
Dim _value As FieldAttributes
'public accessors omitted
End Class
Public Class KeyValueDictionary(Of KeyValue) : Inherits DictionaryBase
Public Sub Add(ByVal value As KeyValue)
Dictionary.Add(value.keyID.value, value) 'ide doesn't like this line.
End Sub 'Add
end Class
dan