IsFile Method

IInternalConfigHost.IsFile Method (String)

 

Returns a value indicating whether the file path used by a Stream object to read a configuration file is a valid path.

Namespace:   System.Configuration.Internal
Assembly:  System.Configuration (in System.Configuration.dll)

bool IsFile(
	string streamName
)

Parameters

streamName
Type: System.String

A string representing the name of the Stream object performing I/O tasks on the configuration file.

Return Value

Type: System.Boolean

true if the path used by a Stream object to read a configuration file is a valid path; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft