Compartir vía


XmlConfigurationExtensions.AddXmlStream(IConfigurationBuilder, Stream) Método

Definición

Agrega un origen de configuración 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

Parámetros

builder
IConfigurationBuilder

El objeto IConfigurationBuilder al que se va a agregar.

stream
Stream

El objeto Stream del que se van a leer los datos de configuración XML.

Devoluciones

El parámetro de cadena de consulta IConfigurationBuilder.

Se aplica a