DelegatingConfigHost.OpenStreamForRead Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens and returns a Stream object to read a configuration file.
Overloads
OpenStreamForRead(String) |
This API supports the product infrastructure and is not intended to be used directly from your code. Opens a Stream object to read a configuration file. |
OpenStreamForRead(String, Boolean) |
This API supports the product infrastructure and is not intended to be used directly from your code. Opens a Stream object to read a configuration file. |
OpenStreamForRead(String)
- Source:
- DelegatingConfigHost.cs
- Source:
- DelegatingConfigHost.cs
- Source:
- DelegatingConfigHost.cs
- Source:
- DelegatingConfigHost.cs
- Source:
- DelegatingConfigHost.cs
Opens a Stream object to read a configuration file.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual System::IO::Stream ^ OpenStreamForRead(System::String ^ streamName);
public virtual System.IO.Stream OpenStreamForRead (string streamName);
abstract member OpenStreamForRead : string -> System.IO.Stream
override this.OpenStreamForRead : string -> System.IO.Stream
Public Overridable Function OpenStreamForRead (streamName As String) As Stream
Parameters
Returns
The object specified by streamName
.
Implements
Applies to
OpenStreamForRead(String, Boolean)
- Source:
- DelegatingConfigHost.cs
- Source:
- DelegatingConfigHost.cs
- Source:
- DelegatingConfigHost.cs
- Source:
- DelegatingConfigHost.cs
- Source:
- DelegatingConfigHost.cs
Opens a Stream object to read a configuration file.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual System::IO::Stream ^ OpenStreamForRead(System::String ^ streamName, bool assertPermissions);
public virtual System.IO.Stream OpenStreamForRead (string streamName, bool assertPermissions);
abstract member OpenStreamForRead : string * bool -> System.IO.Stream
override this.OpenStreamForRead : string * bool -> System.IO.Stream
Public Overridable Function OpenStreamForRead (streamName As String, assertPermissions As Boolean) As Stream
Parameters
- assertPermissions
- Boolean
true
to assert permissions; otherwise, false
.
Returns
The object specified by streamName
.