nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / Settings

Settings

Full name Microsoft.VisualBasic.ComponentModel.Settings.Settings`1 Assembly Microsoft.VisualBasic.Runtime Members 6

01 Syntax

Microsoft.VisualBasic.ComponentModel.Settings.Settings`1

02 Methods

NameOverloadsSummary
.ctor 1 从配置数据的实例对象创建配置映射
LoadFile 1
Load 1 使用ProfileItem来标记想要作为变量的属性
CreateEmpty 1
op_Explicit 1

03 Properties

NameOverloadsSummary
SettingsData 1 The target object instance that provides the data source for this config engine.

04 Members

method .ctor #
#ctor(`0)

从配置数据的实例对象创建配置映射

Parameters
NameTypeDescription
config`0

-

method LoadFile #
LoadFile(String, Action(Of `0, String))
Parameters
NameTypeDescription
XmlFileString

目标配置文件的Xml文件的文件名

Returns

可以调用的配置项的数目,解析失败则返回0

method Load #
Load(`0)

使用ProfileItem来标记想要作为变量的属性

Parameters
NameTypeDescription
Data`0

-

property SettingsData #
SettingsData

The target object instance that provides the data source for this config engine.

method CreateEmpty #
CreateEmpty()
method op_Explicit #
op_Explicit(Settings(Of T))