PortableSettingsProvider.IsRoaming C# (CSharp) Method

IsRoaming() private method

private IsRoaming ( SettingsProperty prop ) : bool
prop SettingsProperty
return bool
    private bool IsRoaming(SettingsProperty prop)
    {
        //Determine if the setting is marked as Roaming
        foreach (DictionaryEntry d in prop.Attributes)
        {
            var a = (Attribute)d.Value;
            if (a is SettingsManageabilityAttribute)
            {
                return true;
            }
        }
        return false;
    }