Share via


ToString Method (String, IFormatProvider)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Namespace:  System
Assembly:  System.Dataflow (in System.Dataflow.dll)

Syntax

'Declaration
PublicFunctionToString ( _
    formatAsString, _
    formatProviderAsIFormatProvider _
) AsString
'Usage
DiminstanceAsDateDimformatAsStringDimformatProviderAsIFormatProviderDimreturnValueAsStringreturnValue = instance.ToString(format, _
    formatProvider)
publicstringToString(
    stringformat,
    IFormatProviderformatProvider
)
public:
virtualString^ ToString(
    String^ format, 
    IFormatProvider^ formatProvider
) sealed
publicfinalfunctionToString(
    format : String, 
    formatProvider : IFormatProvider
) : String

Parameters

Return Value

Type: System. . :: . .String

Implements

IFormattable. . :: . .ToString(String, IFormatProvider)

.NET Framework Security

See Also

Reference

Date Structure

Date Members

ToString Overload

System Namespace