Open this page in the API Guide

AppSettingCollection.TryGetSetting Method (Guid, AppSetting)

Gets the setting associated with the specified ID.

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

Parameters

settingId
Type: System.Guid
The setting ID.
setting
Type: Dundas.BI.Configuration.AppSetting
When this method returns, contains the setting associated with the specified ID, if the setting is found; otherwise, null. This parameter is passed uninitialized.

Return Value

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