Device.SetFlags(IReadOnlyList<String>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在设备上设置自定义标志列表。
[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
参数
- flags
- System.Collections.Generic.IReadOnlyList<System.String>
自定义标志值的列表。
- 属性
-
System.ComponentModel.EditorBrowsableAttribute
注解
开发人员应仅在 Xamarin 之前调用此方法。初始化Forms。