在早期版本中,您必须显式创建和初始化所有的嵌套业务对象,然后才能设置属性。
In previous versions, before you could set a property, you had to explicitly create and initialize all nested business objects.
在加载properties对象之后,关闭输入流,然后设置布尔型标志变量(init)值为true,确定AddressStore对象已经被初始化。
After loading the Properties object, you close the input stream, and then set your Boolean flag variable (init) value to true, demarcating that the AddressStore object has been initialized.
在设置任何属性之前,需要通过调用 pthread_attr_init() 来初始化这个对象。
This object needs to be initialized by the call pthread_attr_init() before any attributes are set. The attribute object is destroyed using the call pthread_attr_destroy()
下面的代码提供了访问一个对象的途径,你可以使用这个对象来初始化运行时设置。
The following line gives you access to an object you can use.
在该例子中,配置项对象在初始化的时候还未设置。
In this example, the source config object is not initially set.
获取或设置一个值,该值指示该对象是否已初始化。
Gets or sets a value that indicates whether the object has been initialized.
获取或设置一个值,该值指示该对象是否已初始化。
Gets or sets a value that indicates whether the object has been initialized.
应用推荐