Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Property Descriptions
Message
De
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:
01047861
Vues:
7
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;
>  }
>		
>}
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform