Share via


Name Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public ReadOnly Property Name As String
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
member Name : string with get
function get Name () : String

Property Value

Type: System. . :: . .String
A string that is the name of the FileStream.

.NET Framework Security

See Also

Reference

FileStream Class

System.IO Namespace