XmlStreamConfigurationProvider.Read(Stream, XmlDocumentDecryptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.