PortableSettingsProvider.IsRoaming C# (CSharp) Метод

IsRoaming() приватный Метод

private IsRoaming ( SettingsProperty prop ) : bool
prop SettingsProperty
Результат 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;
    }