Dela via


XmlStreamConfigurationProvider.Read(Stream, XmlDocumentDecryptor) Method

Definition

Reads a stream of XML values into a key/value dictionary.

public:
 static System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ Read(System::IO::Stream ^ stream, Microsoft::Extensions::Configuration::Xml::XmlDocumentDecryptor ^ decryptor);
public static System.Collections.Generic.IDictionary<string,string?> Read (System.IO.Stream stream, Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor decryptor);
static member Read : System.IO.Stream * Microsoft.Extensions.Configuration.Xml.XmlDocumentDecryptor -> System.Collections.Generic.IDictionary<string, string>
Public Shared Function Read (stream As Stream, decryptor As XmlDocumentDecryptor) As IDictionary(Of String, String)

Parameters

stream
Stream

The stream of XML data.

decryptor
XmlDocumentDecryptor

The XmlDocumentDecryptor to use to decrypt.

Returns

The IDictionary<TKey,TValue> that was read from the stream.

Applies to