共用方式為


PackageContextFlags Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum PackageContextFlags
[<System.Flags>]
type PackageContextFlags = 
Inheritance
PackageContextFlags
Attributes

Fields

Name Value Description
IncludeCode 1

Flag for use with CreatePackageContext(String, PackageContextFlags): include the application code with the context.

IgnoreSecurity 2
Restricted 4

Flag for use with CreatePackageContext(String, PackageContextFlags): a restricted context may disable specific features.

Remarks

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