Skip to main content

Windows Dev Center

NamedResource.Uri | uri property

Gets a URI that can be used to refer to this named resource.

Syntax


var uri = namedResource.uri;

public Uri Uri { get; }

Public ReadOnly Property Uri As Uri

public:
property Uri^ Uri { 
   Uri^ get();
}

Property value

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

A URI that can be used to refer to this named resource. See URI schemes for information on identifying resources.

Requirements (Windows 10 device family)

Device family

Universal

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
URI schemes