A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public bool TryGetSetting(
    	Guid settingId,
    	out AppSetting setting
    )

    Public Function TryGetSetting (
    	settingId As Guid,
    	<OutAttribute> ByRef setting As AppSetting
    ) As Boolean

    public:
    bool TryGetSetting(
    	Guid settingId,
    	[OutAttribute] AppSetting^% setting
    )

    member TryGetSetting :
            settingId : Guid *
            setting : AppSetting byref -> bool

#### 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,
  . This parameter is passed uninitialized.

#### Return Value

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

#### Reference

AppSettingCollection Class
TryGetSetting Overload
Dundas.BI.Configuration Namespace