共用方式為


CalendarContract.EventsColumns.EventColorKey Field

Definition

Caution

Use 'Android.Provider.CalendarContract.IEventsColumns.EventColorKey'. This class will be removed in a future release.

A secondary color key for the individual event.

[Android.Runtime.Register("EVENT_COLOR_KEY")]
[System.Obsolete("Use 'Android.Provider.CalendarContract.IEventsColumns.EventColorKey'. This class will be removed in a future release.")]
public const string EventColorKey;
[<Android.Runtime.Register("EVENT_COLOR_KEY")>]
[<System.Obsolete("Use 'Android.Provider.CalendarContract.IEventsColumns.EventColorKey'. This class will be removed in a future release.")>]
val mutable EventColorKey : string

Field Value

Attributes

Remarks

A secondary color key for the individual event. NULL or an empty string are reserved for indicating that the event does not use a key for looking up the color. The provider will update #EVENT_COLOR automatically when a valid key is written to this column. The key must reference an existing row of the Colors table.

Java documentation for android.provider.CalendarContract.EventsColumns.EVENT_COLOR_KEY.

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.

Applies to