Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Property Descriptions
Message
 
À
08/09/2005 16:28:28
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01047815
Message ID:
01047874
Vues:
7
Perfect! Thanks!


>Kevin,
>
>You need to use the Description attribute:
>
>[Description("I want this string to appear in the property sheet")]
>public string FieldName
>{
>  get
>  {
>    return m_FieldName;
>  }
>  set
>  {
>    m_FieldName = value;
>  }
>		>}
>
>
>~~Bonnie
>
>
>
>>How do I create a property description string that will appear in
>>the property sheet?
>>
>>
>>// I want this string to appear in the property sheet
>>public string FieldName
>>{
>>  get
>>  {
>>    return m_FieldName;
>>  }
>>  set
>>  {
>>    m_FieldName = value;
>>  }
>>		
>>}
>>
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform