Share via


IndexedResourceCandidate.ValueAsString Property

Definition

Gets the value of the candidate as a String.

public:
 property Platform::String ^ ValueAsString { Platform::String ^ get(); };
winrt::hstring ValueAsString();
public string ValueAsString { get; }
var string = indexedResourceCandidate.valueAsString;
Public ReadOnly Property ValueAsString As String

Property Value

String

Platform::String

winrt::hstring

If the candidate is a file, the value is a file path (such as "images\logo.scale-100.png") relative to the project root passed to the ResourceIndexer constructor. If the candidate is a string, the value is the actual string (such as "Hello World").

Applies to