Gets or sets the format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters.
Syntax
Visual Basic (Declaration) | |
---|
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<System.ComponentModel.BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
<System.ComponentModel.DescriptionAttribute("Gets or sets the format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters.")>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property YearMonthPattern As System.String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As DateTimeFormatInfoWrapper
Dim value As System.String
instance.YearMonthPattern = value
value = instance.YearMonthPattern |
C# | |
---|
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DescriptionAttribute("Gets or sets the format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters.")]
[ISNet.Serialization.BinarySerializableAttribute()]
public System.string YearMonthPattern {get; set;} |
Delphi | |
---|
public read-write property YearMonthPattern: System.String; |
JScript | |
---|
System.ComponentModel.NotifyParentPropertyAttribute()
System.ComponentModel.BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
System.ComponentModel.DescriptionAttribute("Gets or sets the format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters.")
ISNet.Serialization.BinarySerializableAttribute()
public function get,set YearMonthPattern : System.String |
Managed Extensions for C++ | |
---|
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DescriptionAttribute("Gets or sets the format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters.")]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property System.string* get_YearMonthPattern();
public: __property void set_YearMonthPattern(
System.string* value
); |
C++/CLI | |
---|
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[System.ComponentModel.DescriptionAttribute("Gets or sets the format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters.")]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property System.String^ YearMonthPattern {
System.String^ get();
void set ( System.String^ value);
} |
Property Value
The format pattern for a year and month value, which is associated with the 'y' and 'Y' format characters.
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