DateTimeFormatInfo..::..PMDesignator Property
Gets or sets the string designator for hours that are "post meridiem" (after noon).
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] [NameAttribute] public string PMDesignator { get; set; }
<FieldPropertyAttribute> _ <NameAttribute> _ Public Property PMDesignator As String Get Set
[FieldPropertyAttribute] [NameAttribute] public: property String^ PMDesignator { String^ get (); void set (String^ value); }
Return Value
The string designator for hours that are "post meridiem" (after noon). The default for InvariantInfo is "PM".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. |