Споделяне чрез


XmlConfigurationExtensions.AddXmlStream(IConfigurationBuilder, Stream) Method

Definition

Adds an XML configuration source to 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

Parameters

stream
Stream

The Stream to read the XML configuration data from.

Returns

The IConfigurationBuilder.

Applies to