Skip to content

M_CodeJam_Ranges_Range_1_ToString_2

andrewvk edited this page Jul 1, 2016 · 4 revisions

Range(T).ToString Method (String, IFormatProvider)

Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public string ToString(
	string format,
	IFormatProvider formatProvider
)

VB

Public Function ToString ( 
	format As String,
	formatProvider As IFormatProvider
) As String

F#

abstract ToString : 
        format : string * 
        formatProvider : IFormatProvider -> string 
override ToString : 
        format : string * 
        formatProvider : IFormatProvider -> string 

Parameters

 

format
Type: System.String
The format string.
formatProvider
Type: System.IFormatProvider
The format provider.

Return Value

Type: String
The string representation of the range.

Implements

IFormattable.ToString(String, IFormatProvider)

See Also

Reference

Range(T) Structure
ToString Overload
CodeJam.Ranges Namespace
System.IFormattable

Clone this wiki locally