Share via


IStorageItem.Name Property

Definition

Gets the name of the item including the file name extension if there is one.

public:
 property Platform::String ^ Name { Platform::String ^ get(); };
winrt::hstring Name();
public string Name { get; }
var string = iStorageItem.name;
Public ReadOnly Property Name As String

Property Value

String

Platform::String

winrt::hstring

The name of the item including the file name extension if there is one.

Remarks

If the item is a file, this name includes the file name extension.

Applies to