Ableitung eines Dictionary(Of TKey, Value)

24/06/2009 - 18:14 von Harald M. Genauck | Report spam
Hallo,

so hat es angefangen:

Public Class MyDictionary
Inherits Dictionary(of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dic ... ... ...

... drei Wochen und ein paar defekte Tasten spàter:
"Hiiiilfeeeeeee...!!!"


Oder wie deklariert man eine Ableitung von Dictionary(Of TKey, TValue),
wobei TValue der Typ eben dieser Ableitung sein soll???

Irgendwie stehe ich auf einem endlosen Schlauch ...


Viele Grüße

Harald M. Genauck

"VISUAL STUDIO one" - http://www.visualstudio1.de (Chefredakteur)
"ABOUT Visual Basic" - http://www.aboutvb.de (Herausgeber)
 

Lesen sie die antworten

#1 Harald M. Genauck
24/06/2009 - 18:28 | Warnen spam
"Harald M. Genauck" schrieb im
Newsbeitrag news:
Hallo,

so hat es angefangen:

Public Class MyDictionary
Inherits Dictionary(of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dictionary(Of String, Dictionary(Of String, Dictionary(Of
String, Dic ... ... ...

... drei Wochen und ein paar defekte Tasten spàter:
"Hiiiilfeeeeeee...!!!"


Oder wie deklariert man eine Ableitung von Dictionary(Of TKey,
TValue), wobei TValue der Typ eben dieser Ableitung sein soll???

Irgendwie stehe ich auf einem endlosen Schlauch ...



Ok, Schlauch ist wieder aufgewickelt. Manchmal hilft es ja, darüber zu
reden/schreiben...
:-)

Völlig trivial, klar...:

Public Class MyDictionary
Inherits Dictionary(Of String, MyDictionary)

Mannomann... ;-(

Viele Grüße

Harald M. Genauck

"VISUAL STUDIO one" - http://www.visualstudio1.de (Chefredakteur)
"ABOUT Visual Basic" - http://www.aboutvb.de (Herausgeber)

Ähnliche fragen