XmlStreamConfigurationProvider.Read(Stream, XmlDocumentDecryptor) 方法

定义

将 INI 值流读入键/值字典。

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)

参数

stream
Stream

INI 数据流。

decryptor
XmlDocumentDecryptor

要用于解密的 XmlDocumentDecryptor

返回

从流中读取的 IDictionary<TKey,TValue>

适用于