Come posso ottenere PropertyDescriptor per la proprietà in cui sono? Ad esempio:Come ottenere PropertyDescriptor per la proprietà corrente?
[MyAttribute("SomeText")]
public string MyProperty
{
get{....}
set
{
// here I want to get propertyDecriptor for this property.
}
}
grazie.
ou ... bello, e posso scrivere System.ComponentModel.PropertyDescriptorCollection pdc = System.ComponentModel.TypeDescriptor.GetProperties (questo); nel mio costruttore da usare solo una volta ... grazie !! – Yuriy