Freigeben über


IniConfigurationExtensions.AddIniStream(IConfigurationBuilder, Stream) Methode

Definition

Fügt eine INI-Konfigurationsquelle zu builder hinzu.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddIniStream(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ builder, System::IO::Stream ^ stream);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddIniStream (this Microsoft.Extensions.Configuration.IConfigurationBuilder builder, System.IO.Stream stream);
static member AddIniStream : Microsoft.Extensions.Configuration.IConfigurationBuilder * System.IO.Stream -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddIniStream (builder As IConfigurationBuilder, stream As Stream) As IConfigurationBuilder

Parameter

builder
IConfigurationBuilder

Die IConfigurationBuilder-Schnittstelle, der etwas hinzugefügt werden soll.

stream
Stream

Die Stream-Klasse, aus der die INI-Konfigurationsdaten gelesen werden sollen.

Gibt zurück

Das IConfigurationBuilder.

Gilt für: