共用方式為


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>

適用於