System::ICustomFormatter::Format 메서드

ICustomFormatter::Format method

현재 객체가 나타내는 값을 지정된 형식으로 문자열로 반환합니다.

virtual System::String System::ICustomFormatter::Format(System::String format, System::SharedPtr<System::Object> arg, System::SharedPtr<System::IFormatProvider> formatProvider)=0
매개변수형식설명
형식System::String문자열 형식
argSystem::SharedPtr<System::Object>포맷될 객체
formatProviderSystem::SharedPtr<System::IFormatProvider>형식 정보를 제공하는 객체

ReturnValue

arg의 문자열 표현은 formatformatProvider가 지정한 형식에 따라 포맷됩니다

또 보기