IFormattable.ToString Method

DoubleCollection::IFormattable::ToString Method (String^, IFormatProvider^)

 

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

For a description of this member, see IFormattable::ToString.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

private:
virtual String^ ToString(
	String^ format,
	IFormatProvider^ provider
) sealed = IFormattable::ToString

Parameters

format
Type: System::String^

The String specifying the format to use.

-or-

null (Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation.

provider
Type: System::IFormatProvider^

The IFormatProvider to use to format the value.

-or-

null (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.

Return Value

Type: System::String^

A String containing the value of the current instance in the specified format.

This member is an explicit interface member implementation. It can be used only when the DoubleCollection instance is cast to an IFormattable interface.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft