DateFormat.SetContext(DisplayContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
<strong>[icu]</strong> Set a particular DisplayContext value in the formatter, such as CAPITALIZATION_FOR_STANDALONE.
[Android.Runtime.Register("setContext", "(Landroid/icu/text/DisplayContext;)V", "GetSetContext_Landroid_icu_text_DisplayContext_Handler", ApiSince=24)]
public virtual void SetContext (Android.Icu.Text.DisplayContext? context);
[<Android.Runtime.Register("setContext", "(Landroid/icu/text/DisplayContext;)V", "GetSetContext_Landroid_icu_text_DisplayContext_Handler", ApiSince=24)>]
abstract member SetContext : Android.Icu.Text.DisplayContext -> unit
override this.SetContext : Android.Icu.Text.DisplayContext -> unit
Parameters
- context
- DisplayContext
The DisplayContext value to set.
- Attributes
Remarks
<strong>[icu]</strong> Set a particular DisplayContext value in the formatter, such as CAPITALIZATION_FOR_STANDALONE.
Java documentation for android.icu.text.DateFormat.setContext(android.icu.text.DisplayContext)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.