R
RR
Hi,
I want to set the defaultvalue of a property in a class.
I know this is possible by the DefaultValue Attribute like this:
public class Test
{
public Test(){}
private string myProperty;
[DefaultValue("TestProperty")]
public string MyProperty
{
get{ return myProperty; }
set{ myProperty = value; }
}
}
I search for a possibility to set the default value for several
languages.
(the defaultvalueattribute class is sealed!!).
How can I implement this functionality??
I want to set the defaultvalue of a property in a class.
I know this is possible by the DefaultValue Attribute like this:
public class Test
{
public Test(){}
private string myProperty;
[DefaultValue("TestProperty")]
public string MyProperty
{
get{ return myProperty; }
set{ myProperty = value; }
}
}
I search for a possibility to set the default value for several
languages.
(the defaultvalueattribute class is sealed!!).
How can I implement this functionality??