Megosztás a következőn keresztül:


Uri.Extension Property

Definition

Gets the file name extension of the resource that is referenced in the Uri.

public:
 property Platform::String ^ Extension { Platform::String ^ get(); };
winrt::hstring Extension();
public string Extension { get; }
var string = uri.extension;
Public ReadOnly Property Extension As String

Property Value

String

Platform::String

winrt::hstring

The file name extension including the dot (.), if applicable.

Applies to