System.IO.IsolatedStorage.Helper.IsRoaming C# (CSharp) Méthode

IsRoaming() static private méthode

static private IsRoaming ( IsolatedStorageScope scope ) : bool
scope IsolatedStorageScope
Résultat bool
        internal static bool IsRoaming(IsolatedStorageScope scope) => ((scope & IsolatedStorageScope.Roaming) != 0);
        internal static bool IsDomain(IsolatedStorageScope scope) => ((scope & IsolatedStorageScope.Domain) != 0);

Usage Example

Exemple #1
0
        public void Close()
        {
            if (Helper.IsRoaming(Scope))
            {
                return;
            }

            lock (_internalLock)
            {
                if (!_closed)
                {
                    _closed = true;
                    GC.SuppressFinalize(this);
                }
            }
        }
All Usage Examples Of System.IO.IsolatedStorage.Helper::IsRoaming