편집

다음을 통해 공유


ObjectConverter Class

Definition

Caution

Use the System.Convert class and String.Format instead

Caution

The recommended alternative is System.Convert and String.Format. http://go.microsoft.com/fwlink/?linkid=14202

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

Constructors

ObjectConverter()

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

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)

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

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)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to