Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.
Syntax
Visual Basic (Declaration) | |
---|
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
<System.ComponentModel.DescriptionAttribute("Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.")>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
Public Property CalendarWeekRule As System.Globalization.CalendarWeekRule |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As DateTimeFormatInfoWrapper
Dim value As System.Globalization.CalendarWeekRule
instance.CalendarWeekRule = value
value = instance.CalendarWeekRule |
C# | |
---|
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DescriptionAttribute("Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public System.Globalization.CalendarWeekRule CalendarWeekRule {get; set;} |
Delphi | |
---|
public read-write property CalendarWeekRule: System.Globalization.CalendarWeekRule; |
JScript | |
---|
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
System.ComponentModel.DescriptionAttribute("Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.")
System.ComponentModel.NotifyParentPropertyAttribute()
public function get,set CalendarWeekRule : System.Globalization.CalendarWeekRule |
Managed Extensions for C++ | |
---|
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DescriptionAttribute("Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public: __property System.Globalization.CalendarWeekRule get_CalendarWeekRule();
public: __property void set_CalendarWeekRule(
System.Globalization.CalendarWeekRule value
); |
C++/CLI | |
---|
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DescriptionAttribute("Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
public:
property System.Globalization.CalendarWeekRule CalendarWeekRule {
System.Globalization.CalendarWeekRule get();
void set ( System.Globalization.CalendarWeekRule value);
} |
Property Value
A
CalendarWeekRule value that determines the first calendar week of the year. The default for
InvariantInfo is FirstDay.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also