Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StorageFile.Name Property

Definition

Namespace:
Windows.Storage

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the name of the file including the file name extension.

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

Property Value

String

Platform::String

winrt::hstring

The name of the file including the file name extension.

Implements

Applies to


Feedback

Was this page helpful?