Vector3::ToString Method (String, IFormatProvider)

Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
virtual String^ ToString(
	String^ format, 
	IFormatProvider^ formatProvider
) sealed

Parameters

format
Type: System::String

A standard or custom numeric format string that defines the format of individual elements.

formatProvider
Type: System::IFormatProvider

A format provider that supplies culture-specific formatting information.

Return Value

Type: System::String
The string representation of the current instance.

Implements

IFormattable::ToString(String, IFormatProvider)

This method returns a string in which each element of the vector is formatted using format and formatProvider. The "<" and ">" characters are used to begin and end the string, and the format provider's NumberFormatInfo::NumberGroupSeparator property followed by a space is used to separate each element.

Show: