DatePrototype.getFullYear(Object) 方法

定義

取得指定 DateObject的年份值。

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

public:
 static double getFullYear(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getFullYear)]
public static double getFullYear(object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_getFullYear)>]
static member getFullYear : obj -> double
Public Shared Function getFullYear (thisob As Object) As Double

參數

thisob
Object

這個方法作用的對象。

傳回

的年份值 thisob

屬性

適用於

另請參閱