共用方式為


XmlConfigurationExtensions 類別

定義

用於新增 XmlConfigurationProvider 的擴充方法。

public ref class XmlConfigurationExtensions abstract sealed
public static class XmlConfigurationExtensions
type XmlConfigurationExtensions = class
Public Module XmlConfigurationExtensions
繼承
XmlConfigurationExtensions

備註

如需詳細資訊和範例,請參閱 XML 組態提供者

方法

AddXmlFile(IConfigurationBuilder, Action<XmlConfigurationSource>)

將 XML 組態來源新增至 builder

AddXmlFile(IConfigurationBuilder, IFileProvider, String, Boolean, Boolean)

將 XML 組態來源新增至 builder

AddXmlFile(IConfigurationBuilder, String, Boolean, Boolean)

path 中將 XML 組態提供者新增至 builder

AddXmlFile(IConfigurationBuilder, String, Boolean)

path 中將 XML 組態提供者新增至 builder

AddXmlFile(IConfigurationBuilder, String)

path 中將 XML 組態提供者新增至 builder

AddXmlStream(IConfigurationBuilder, Stream)

將 XML 組態來源新增至 builder

適用於