共用方式為


Device.SetFlags(IReadOnlyList<String>) Method

Definition

Sets a list of custom flags on the device.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static void SetFlags (System.Collections.Generic.IReadOnlyList<string> flags);
static member SetFlags : System.Collections.Generic.IReadOnlyList<string> -> unit

Parameters

flags
System.Collections.Generic.IReadOnlyList<System.String>

The list of custom flag values.

Attributes
System.ComponentModel.EditorBrowsableAttribute

Remarks

Developers should only call this method before Xamarin.Forms is initialized.

Applies to