NamedComponent.IFormattable.ToString Method

Formats the value of the current instance using the specified format.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Private Function ToString ( _
    format As String, _
    formatProvider As IFormatProvider _
) As String Implements IFormattable.ToString
'Usage
Dim instance As NamedComponent 
Dim format As String 
Dim formatProvider As IFormatProvider 
Dim returnValue As String 

returnValue = CType(instance, IFormattable).ToString(format, _
    formatProvider)
string IFormattable.ToString(
    string format,
    IFormatProvider formatProvider
)
private:
virtual String^ ToString(
    String^ format, 
    IFormatProvider^ formatProvider
) sealed = IFormattable::ToString
private abstract ToString : 
        format:string * 
        formatProvider:IFormatProvider -> string  
private override ToString : 
        format:string * 
        formatProvider:IFormatProvider -> string
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.String
The value of the current instance in the specified format.

Implements

IFormattable.ToString(String, IFormatProvider)

See Also

Reference

NamedComponent Class

Microsoft.AnalysisServices Namespace