ObjectConverter ObjectConverter ObjectConverter ObjectConverter Class

Definition

Warning

This API is now obsolete.

Converts an object from one object type to another object type. This class is obsolete. Use the Convert class and the Format(String, Object) method instead.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class ObjectConverter sealed
[System.Obsolete("The recommended alternative is System.Convert and String.Format. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Obsolete("Use the System.Convert class and String.Format instead")]
public sealed class ObjectConverter
type ObjectConverter = class
Public NotInheritable Class ObjectConverter
Inheritance
ObjectConverterObjectConverterObjectConverterObjectConverter
Attributes

Constructors

ObjectConverter() ObjectConverter() ObjectConverter() ObjectConverter()

Initializes a new instance of the ObjectConverter class. This class is obsolete. Use the Convert class and the Format(String, Object) method instead.

Methods

ConvertValue(Object, Type, String) ConvertValue(Object, Type, String) ConvertValue(Object, Type, String) ConvertValue(Object, Type, String)

Converts an object from one object type to another object type. This class is obsolete. Use the Convert class and the Format(String, Object) method instead.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to