NamedComponent.IFormattable.ToString 메서드
Formats the value of the current instance using the specified format.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Private Function ToString ( _
format As String, _
formatProvider As IFormatProvider _
) As String Implements IFormattable.ToString
‘사용 방법
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는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- format
유형: System.String
The format to use.
- formatProvider
유형: System.IFormatProvider
The provider to use to format the value.
반환 값
유형: System.String
The value of the current instance in the specified format.
구현
IFormattable.ToString(String, IFormatProvider)