LocalizationResources.GetResourceString(String, Object[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將值插入本地化字串。
protected:
virtual System::String ^ GetResourceString(System::String ^ resourceString, ... cli::array <System::Object ^> ^ formatArguments);
protected virtual string GetResourceString (string resourceString, params object[] formatArguments);
abstract member GetResourceString : string * obj[] -> string
override this.GetResourceString : string * obj[] -> string
Protected Overridable Function GetResourceString (resourceString As String, ParamArray formatArguments As Object()) As String
參數
- resourceString
- String
字串範本,將插入值。
- formatArguments
- Object[]
要插入的值。
傳回
內插補點之後的最後一個字串。