TextSpanFormatter.AddFormatter メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
AddFormatter<T>(Func<T,TextSpan>)
public:
generic <typename T>
void AddFormatter(Func<T, System::CommandLine::Rendering::TextSpan ^> ^ format);
public void AddFormatter<T>(Func<T,System.CommandLine.Rendering.TextSpan> format);
member this.AddFormatter : Func<'T, System.CommandLine.Rendering.TextSpan> -> unit
Public Sub AddFormatter(Of T) (format As Func(Of T, TextSpan))
型パラメーター
- T
パラメーター
適用対象
AddFormatter<T>(Func<T,FormattableString>)
public:
generic <typename T>
void AddFormatter(Func<T, FormattableString ^> ^ format);
public void AddFormatter<T>(Func<T,FormattableString> format);
member this.AddFormatter : Func<'T, FormattableString> -> unit
Public Sub AddFormatter(Of T) (format As Func(Of T, FormattableString))
型パラメーター
- T
パラメーター
- format
- Func<T,FormattableString>