StringPrototype.toUpperCase(Object) 方法

定義

回傳一份根據 的 InvariantCulture大小寫規則轉換為大寫的指定字串副本。

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

public:
 static System::String ^ toUpperCase(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_toUpperCase)]
public static string toUpperCase(object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_toUpperCase)>]
static member toUpperCase : obj -> string
Public Shared Function toUpperCase (thisob As Object) As String

參數

thisob
Object

這個方法作用的對象。

傳回

一個大寫字串。

屬性

適用於

另請參閱