Condividi tramite


XmlConfigurationExtensions.AddXmlStream(IConfigurationBuilder, Stream) Metodo

Definizione

Aggiunge un'origine della configurazione XML a builder.

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

Parametri

builder
IConfigurationBuilder

Oggetto IConfigurationBuilder in cui effettuare l'aggiunta.

stream
Stream

Oggetto Stream da cui leggere i dati di configurazione XML.

Restituisce

Oggetto IConfigurationBuilder.

Si applica a