AppSettingCollectionTryGetSetting(Guid, String, AppSetting) Method |
Gets the setting associated with the specified name and module ID.
Namespace: Dundas.BI.ConfigurationAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxpublic 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 Guid
- The module ID.
- settingName String
- The setting name.
- setting AppSetting
-
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
Boolean if the setting has been registered; otherwise,
.
See Also