Developer forum

Forum » Development » Properties.Value(string Name) er ikke synlig i DW8

Properties.Value(string Name) er ikke synlig i DW8

Magni J. Hansen
Reply

Edited to english:
I get a obsolete warning. Value(string Name) method is not visible or does not exists in Dynamicweb.Properties class.

Dynamicweb.Properties.get_getValue(string)' is obsolete: 'Use Properties.Value(string Name) property instead (Properties.get_Value(string Name) in C#)

I have not searched in other classes, may the Value method be placed in another class ?

---------------------------
Original question in danish:
Får denne obsolete warning, men Value(string Name) er ikke synlig/eller eksisterer ikke i Dynamicweb.Properties klassen.

Dynamicweb.Properties.get_getValue(string)' is obsolete: 'Use Properties.Value(string Name) property instead (Properties.get_Value(string Name) in C#)

Har ikke ledt efter den endnu, men ligger Value methoden et andet sted måske ? 

 


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer
Hallo Magni,

Value is een geindexeerde property die alleen in VB werkt. Geindexeerde properties worden niet ondersteund door C#. Voor C# dien je get_Value te gebruiken zoals aangegeven in de Obsolete waarschuwing.

Groeten,

Imar
Votes for this answer: 0
 
Magni J. Hansen
Reply

bedankt voor info

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
;-)

I replied in Dutch to indicate it's better to post in English as this forum is visited by many international developers.... ;-)

Imar

 
Magni J. Hansen
Reply
Sorry. I didnt noticed i wrote my question in danish :(
I have no problem understanding dutch.

 

You must be logged in to post in the forum