Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Property Descriptions
Message
De
08/09/2005 17:02:46
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01047815
Message ID:
01047877
Vues:
7
You're welcome! Glad to help ... =)

~~Bonnie



>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;
>>>  }
>>>		
>>>}
>>>
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform