System.IO.IsolatedStorage.IsolatedStorageFile.GetEnumerator C# (CSharp) Method

GetEnumerator() public static method

public static GetEnumerator ( System scope ) : System.Collections.IEnumerator
scope System
return System.Collections.IEnumerator
        public static System.Collections.IEnumerator GetEnumerator(System.IO.IsolatedStorage.IsolatedStorageScope scope) { throw null; }
        public string[] GetFileNames() { throw null; }

Same methods

IsolatedStorageFile::GetEnumerator ( IsolatedStorageScope scope ) : IEnumerator

Usage Example

Esempio n. 1
0
        public void GetEnumerator_ThrowsForCurrent()
        {
            IEnumerator e = IsolatedStorageFile.GetEnumerator(IsolatedStorageScope.Assembly);

            Assert.Throws <InvalidOperationException>(() => e.Current);
            e.MoveNext();
            Assert.Throws <InvalidOperationException>(() => e.Current);
        }
All Usage Examples Of System.IO.IsolatedStorage.IsolatedStorageFile::GetEnumerator