Name Property

FileStream.Name Property

 

Gets the name of the FileStream that was passed to the constructor.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

member Name : string with get

Property Value

Type: System.String

A string that is the name of the FileStream.

For a list of common file and directory operations, see Common I/O Tasks.

This code example is part of a larger example provided for the FileStream(String, FileMode, FileAccess, FileShare, Int32, Boolean) constructor.

No code example is currently available or this language may not be supported.

FileIOPermission

for access to the path. Associated enumeration: FileIOPermissionAccess.PathDiscovery

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft