Windows apps
Collapse the table of content
Expand the table of content

Vector<T>::ToString Method (String)

Returns the string representation of this vector using the specified format string to format individual elements.

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

public:
String^ ToString(
	String^ format
)

Parameters

format
Type: System::String

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

Return Value

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

This method returns a string in which each element of the vector is formatted using format and the current culture's formatting conventions. The current culture's NumberFormatInfo::NumberGroupSeparator property followed by a space is used to separate each element.

Show:
© 2017 Microsoft