Edit

Share via


IInternalConfigHost.OpenStreamForRead Method

Definition

Opens a Stream object to read a configuration file.

Overloads

OpenStreamForRead(String)

Opens a Stream to read a configuration file.

OpenStreamForRead(String, Boolean)

Opens a Stream object to read a configuration file.

OpenStreamForRead(String)

Source:
IInternalConfigHost.cs
Source:
IInternalConfigHost.cs
Source:
IInternalConfigHost.cs
Source:
IInternalConfigHost.cs
Source:
IInternalConfigHost.cs

Opens a Stream to read a configuration file.

public:
 System::IO::Stream ^ OpenStreamForRead(System::String ^ streamName);
public System.IO.Stream OpenStreamForRead (string streamName);
abstract member OpenStreamForRead : string -> System.IO.Stream
Public Function OpenStreamForRead (streamName As String) As Stream

Parameters

streamName
String

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

Returns

A Stream object.

Applies to

OpenStreamForRead(String, Boolean)

Source:
IInternalConfigHost.cs
Source:
IInternalConfigHost.cs
Source:
IInternalConfigHost.cs
Source:
IInternalConfigHost.cs
Source:
IInternalConfigHost.cs

Opens a Stream object to read a configuration file.

public:
 System::IO::Stream ^ OpenStreamForRead(System::String ^ streamName, bool assertPermissions);
public System.IO.Stream OpenStreamForRead (string streamName, bool assertPermissions);
abstract member OpenStreamForRead : string * bool -> System.IO.Stream
Public Function OpenStreamForRead (streamName As String, assertPermissions As Boolean) As Stream

Parameters

streamName
String

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

assertPermissions
Boolean

true to assert permissions; otherwise, false.

Returns

The object specified by streamName.

Applies to