StringPrototype.toUpperCase(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一份根據 的 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
這個方法作用的對象。
傳回
一個大寫字串。
- 屬性