Partager via


Propriété year

Gets a value that specifies the current year.

Espace de noms :  ReportService2010
Assembly :  ReportService2010 (en ReportService2010.dll)

Syntaxe

'Déclaration
Public Property year As Short
    Get
    Set
'Utilisation
Dim instance As SYSTEMTIME
Dim value As Short

value = instance.year

instance.year = value
public short year { get; set; }
public:
property short year {
    short get ();
    void set (short value);
}
member year : int16 with get, set
function get year () : short
function set year (value : short)

Valeur de propriété

Type : System. . :: . .Int16
A short value that represents the current year.