DatePrototype.toLocaleString(Object) 方法

定義

建立一個包含日期與時間的字串表示 DateObject

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

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

參數

thisob
Object

這個方法作用的對象。

傳回

的字串表示 thisob

屬性

適用於

另請參閱