Modifier

Partager via


IInternalConfigHost.IsFile(String) Method

Definition

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

public:
 bool IsFile(System::String ^ streamName);
public bool IsFile (string streamName);
abstract member IsFile : string -> bool
Public Function IsFile (streamName As String) As Boolean

Parameters

streamName
String

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

Returns

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

Applies to