Jump to: navigation, search

Changes


Internal:DisplayStrings (Method)

588 bytes added, 10:45, 21 January 2016
Created page with "{{Internal/Coding/Methods}} === Change the display strings at the clients side to name and value of a property. === {{Internal/CodeSnippetInfo|KNO}} <syntaxhighlight lang="cs..."
{{Internal/Coding/Methods}}
=== Change the display strings at the clients side to name and value of a property. ===
{{Internal/CodeSnippetInfo|KNO}}

<syntaxhighlight lang="csharp">
public override System.String[] DisplayStrings
{
get
{
//***UBIK customized code for DisplayStrings.
//***Initial edited on 1/21/2016 11:39:03 AM

//...
//Please insert your custom code here:
//...

string[] displayStrings = new string[2];
displayStrings[0] = this.Name;
displayStrings[1] = this.MP_SHORTTEXT;

return displayStrings;
//return base.DisplayStrings;
}
}
</syntaxhighlight>
10,686
edits