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 で指定された書式に従ってフォーマットされたもの

参照