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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.