System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.ComponentModel.TypeConverter

Use the method of this class to convert a single string containing a list of font names to an array of strings containing the individual names. Each font name in the string must be separated by a comma. For example, the string "arial, times new roman, verdana", converts to an array that contains the strings "arial", "times new roman", and "verdana". Notice the commas are removed along with any white space at the beginning or end of the font name. White space in the middle of a font name is not removed.

The method performs the reverse operation. It converts an array of strings containing the individual font names to a single string containing a list of the names. For example, an array that contains the strings "arial", "times new roman", and "verdana" converts to the string "arial,times new roman,verdana". Notice that commas are automatically inserted between the font names without any white space.

Call the method to verify that the conversion can be made before calling the method.

Converts between a string containing a list of font names and an array of strings representing the individual names.

- Constructor

  You should never access a type converter directly. Instead, call the appropriate converter by using a object. For more information, see the examples in .

  Initializes a new instance of the class.

  1.0.5000.0
  2.0.0.0
- Method
  System.Boolean `` ``

  Use the method to determine whether the specified data type can be converted to an array of strings containing individual font names.

  This converter can convert only from a string data type. The parameter must be of type . Otherwise, this method returns false to indicate that the specified data type cannot be converted.

  You can optionally pass in null for the parameter.

  Determines whether this converter can convert an object of the specified data type to an array of strings containing individual font names.

  true if the type can be converted; otherwise, false.

  A object that provides information about the context of a type converter. You can optionally pass in null for this parameter. A that represents the data type to convert from. 1.0.5000.0 2.0.0.0
- Method
  System.Object `` `` ``

  Use the method to convert a string containing a list of font names to an array of strings containing the individual names. Each font name in the string must be separated by a comma. For example, the string "arial, times new roman, verdana", converts to an array that contains the strings "arial", "times new roman", and "verdana". Notice that the commas are removed along with any white space at the beginning or end of the font name. White space in the middle of a font name is not removed.

  The and parameters are not used in this version of the method; they are reserved for future versions of the method. You can optionally pass in null for these parameters.

  Converts a string that represents a list of font names into an array of strings containing individual font names.

  A instance that represents the array of strings containing the individual font names.

  A object that provides information about the context of a type converter. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass in null for this parameter. A object that represents information about a culture such as language, calendar system, and so on. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass in null for this parameter. A instance that represents the source string to convert from. 1.0.5000.0 2.0.0.0
- Method
  System.Object `` `` `` ``

  Use the method to convert an array of strings containing the individual font names to a single string containing a list of the names. For example, an array that contains the strings "arial", "times new roman", and "verdana" converts to the string "arial,times new roman,verdana". Notice that commas are automatically inserted between the font names without any white space.

  This converter can convert only to a string data type. The parameter must be of type .

  The and parameters are not used in this version of the method; they are reserved for future versions of the method. You can optionally pass in null for these parameters.

  Creates a string that represents a list of font names from an array of strings containing individual font names.

  A instance that represents a string containing a list of font names.

  A object that provides information about the context of a type converter. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass in null for this parameter. A object that represents information about a culture such as language, calendar system, and so on. This parameter is not used in this method. It is reserved for future versions of this method. You can optionally pass in null for this parameter. An object that represents the source array of strings to convert from. A instance object that represents the data type to convert to. This parameter must be of type . 1.0.5000.0 2.0.0.0