DateTimeFormatInfo..::..AMDesignator Property
Gets or sets the string designator for hours that are "ante meridiem" (before noon).
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] [NameAttribute] public string AMDesignator { get; set; }
<FieldPropertyAttribute> _ <NameAttribute> _ Public Property AMDesignator As String Get Set
[FieldPropertyAttribute] [NameAttribute] public: property String^ AMDesignator { String^ get (); void set (String^ value); }
Return Value
The string designator for hours that are ante meridiem. The default for InvariantInfo is "AM".Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The property is being set to null. |
System..::..InvalidOperationException | The property is being set and the DateTimeFormatInfo object is read-only. |