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.4.0.1000)
Syntax public bool TryGetSetting(
Guid moduleId,
string settingName,
out AppSetting?? setting
)
Public Function TryGetSetting (
moduleId As Guid,
settingName As String,
<OutAttribute> ByRef setting As AppSetting
) As Boolean
public:
bool TryGetSetting(
Guid moduleId,
String^ settingName,
[OutAttribute] AppSetting^% setting
)
member TryGetSetting :
moduleId : Guid *
settingName : string *
setting : AppSetting byref -> bool
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