This documentation is archived and is not being maintained.

StringFormat Methods

The methods of the StringFormat class are listed here. For a complete list of StringFormat class members, see the StringFormat Members topic.

Public Methods

public methodClone Creates an exact copy of this StringFormat object.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose Releases all resources used by this StringFormat object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetTabStops Gets the tab stops for this StringFormat object.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodSetDigitSubstitution Specifies the language and method to be used when local digits are substituted for western digits.
public methodSetMeasurableCharacterRanges Specifies an array of CharacterRange structures that represent the ranges of characters measured by a call to the Graphics.MeasureCharacterRanges method.
public methodSetTabStops Sets tab stops for this StringFormat object.
public methodToString Overridden. Converts this StringFormat object to a human-readable string.

Protected Methods

protected methodFinalize Overridden. Cleans up Windows resources for this StringFormat.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

StringFormat Class | System.Drawing Namespace