GetString() public static method

Provide access to resource string value.
public static GetString ( string name ) : string
name string Received string name.
return string
Esempio n. 1
0
 /// <summary>
 /// Explicitly defined default constructor.
 /// </summary>
 public GeneralPropertyPage()
 {
     this.Name = Resources.GetString(Resources.GeneralCaption);
 }
Esempio n. 2
0
 /// <summary>
 /// Looks up the localized name of the specified category.
 /// </summary>
 /// <param name="value">The identifier for the category to look up.</param>
 /// <returns>The localized name of the category, or a null reference
 /// if a localized name does not exist.</returns>
 protected override string GetLocalizedString(string categoryName)
 {
     return(Resources.GetString(categoryName));
 }