IInternalConfigHost.IsSecondaryRoot(String) 方法

定义

返回一个值,它指示配置路径是否指向应将其内容视为根的配置节点。Returns a value indicating whether a configuration path is to a configuration node whose contents should be treated as a root.

public:
 bool IsSecondaryRoot(System::String ^ configPath);
public bool IsSecondaryRoot (string configPath);
abstract member IsSecondaryRoot : string -> bool
Public Function IsSecondaryRoot (configPath As String) As Boolean

参数

configPath
String

表示应用程序配置文件路径的字符串。A string representing the path of the application configuration file.

返回

Boolean

如果配置路径指向应将其内容视为根的配置节点,则为 true;否则为 falsetrue if the configuration path is to a configuration node whose contents should be treated as a root; otherwise, false.

适用于