Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Property Descriptions
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01047815
Message ID:
01047823
Vues:
9
Ok, I now have the code below. When I highlight the property in
the proprty sheet, all is says in the description area is FieldName

One thing to note. I can see the description in the object browser, but
not in the porperty sheet.
/// <summary>
///  This is a string
/// </summary>
public string FieldName
{
  get
  {
    return m_FieldName;
  }
  set
  {
    m_FieldName = value;
  }
	
}
>Kevin,
>
>On the line above the declaration (where you have the double-slash), start with a triple-slash. When you press the space bar after the three slashes, it expands to the XML format used fore creating the documentation.
>
>HTH,
>Chad
>
>>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