AppSettingCollectionTryGetSetting Method (Guid, String, AppSetting)

Gets the setting associated with the specified name and module ID.

Namespace:  Dundas.BI.Configuration
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public bool TryGetSetting(
	Guid moduleId,
	string settingName,
	out AppSetting?? setting
)

Parameters

moduleId
Type: SystemGuid
The module ID.
settingName
Type: SystemString
The setting name.
setting
Type: Dundas.BI.ConfigurationAppSetting
When this method returns, contains the setting associated with the specified name and module ID, if the setting is found; otherwise, . This parameter is passed uninitialized.

Return Value

Type: Boolean
if the setting has been registered; otherwise, .
See Also