.NET Matrix Library
ToString(String,String) Method
See Also  Send Feedback



format
A format string that will be used to convert all vector elements.
separator
A string that will be used to separate vector elements.
Converts this instance of CVector to a formatted string specifying a format string, and a separator and using the default values for left and right borders and end of line characters.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ToString( _
   ByVal format As String, _
   ByVal separator As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As CVector
Dim format As String
Dim separator As String
Dim value As String
 
value = instance.ToString(format, separator)
C# 
public string ToString( 
   string format,
   string separator
)
C++/CLI 
public:
String^ ToString( 
   String^ format,
   String^ separator
) 

Parameters

format
A format string that will be used to convert all vector elements.
separator
A string that will be used to separate vector elements.

Return Value

A formatted string containing all vector elements.

Remarks

The left and right borders are set to "| " and " |" strings respectively. The new line character "\n" is added at the end of the string.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library