Udostępnij za pośrednictwem


ComponentResourceLocation Enum

Definition

Defines constants that specify the lookup behavior for references to application resources by Uniform Resource Identifier (URI) path.

public enum class ComponentResourceLocation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ComponentResourceLocation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ComponentResourceLocation
Public Enum ComponentResourceLocation
Inheritance
ComponentResourceLocation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Application 0

Lookup treats the APPXPACKAGE as the root.

Nested 1

Lookup expects that the resource is a nested resource of a component.

Applies to