Skip to main content
NamedResource.Candidates | candidates property

Gets all possible candidate values for this named resource.

Syntax


var candidates = namedResource.candidates;

public IReadOnlyList<ResourceCandidate> Candidates { get; }

Public ReadOnly Property Candidates As IReadOnlyList(Of ResourceCandidate)

public:
property IVectorView<ResourceCandidate>^ Candidates { 
   IVectorView<ResourceCandidate>^ get();
}

Property value

Type: IVectorView<ResourceCandidate> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<ResourceCandidate> [.NET]

A set of ResourceCandidate objects, each of which describes one possible value for this named resource and the qualifiers under which it applies.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Resources.Core
Windows::ApplicationModel::Resources::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Resources.Core
Windows::ApplicationModel::Resources::Core [C++]

Metadata

Windows.winmd

See also

NamedResource