Elastacloud.AzureManagement.Fluent.Types.CscfgFile.DoesSettingExist C# (CSharp) Method

DoesSettingExist() public method

Checks to see whether a particular setting exists in the roleset
public DoesSettingExist ( string settingName, int roleIndex = 1 ) : bool
settingName string The name of the setting being checked
roleIndex int Not implemented but can be used to go to a particular role index based on the order of the XML Cscfg file
return bool
        public bool DoesSettingExist(string settingName, int roleIndex = 1)
        {
            return GetSetting(settingName) != null;
        }