共用方式為


Diagnostic.GetMessage(IFormatProvider) 方法

定義

取得訊息的文化特性特定文字。

public abstract string GetMessage (IFormatProvider formatProvider = default);
public abstract string GetMessage (IFormatProvider? formatProvider = default);
abstract member GetMessage : IFormatProvider -> string
Public MustOverride Function GetMessage (Optional formatProvider As IFormatProvider = Nothing) As String

參數

formatProvider
IFormatProvider

傳回

適用於