XsltLibrary.FormatMessage(String, IList<String>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置由参数提供的格式字符串和参数包含resargs的格式字符串组成的异常消息的格式。
此 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
包含消息资源的字符串。
返回
包含格式化异常消息的字符串。