Edit

Share via


ImageSource.ToString Method

Definition

Creates a string representation of this object based on the current culture.

Overloads

ToString()

Creates a string representation of this object based on the current culture.

ToString(IFormatProvider)

Creates a string representation of this object based on the IFormatProvider passed in. If the provider is null, the CurrentCulture is used.

ToString()

Creates a string representation of this object based on the current culture.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string representation of this object.

Applies to

ToString(IFormatProvider)

Creates a string representation of this object based on the IFormatProvider passed in. If the provider is null, the CurrentCulture is used.

public:
 System::String ^ ToString(IFormatProvider ^ provider);
public string ToString (IFormatProvider provider);
override this.ToString : IFormatProvider -> string
Public Function ToString (provider As IFormatProvider) As String

Parameters

provider
IFormatProvider

An IFormatProvider that supplies culture-specific formatting information.

Returns

A string representation of this object.

Applies to