共用方式為


XsltLibrary.FormatMessage(String, IList<String>) 方法

定義

格式化由 res 參數提供的格式化字串以及 args 參數包含的引數所組成的例外狀況訊息。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 System::String ^ FormatMessage(System::String ^ res, System::Collections::Generic::IList<System::String ^> ^ args);
public string FormatMessage (string res, System.Collections.Generic.IList<string> args);
member this.FormatMessage : string * System.Collections.Generic.IList<string> -> string
Public Function FormatMessage (res As String, args As IList(Of String)) As String

參數

res
String

包含訊息資源的字串。

args
IList<String>

表示方法中引數的字串清單。

傳回

String

包含格式化例外狀況訊息的字串。

適用於