The LocalItemCollection type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkLocalItemCollection
Initializes a new instance of the LocalItemCollection class.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAdd(FileSystemItem) (Overrides FileSystemItemCollection..::..Add(FileSystemItem).)
Public methodSupported by the .NET Compact FrameworkAdd(LocalItem)
Adds the item to the collection.
Protected methodSupported by the .NET Compact FrameworkAddRange(IEnumerable<(Of <<'(FileSystemItem>)>>))
Adds the elements of the specified collection to the end of the FileSystemItemCollection.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkAddRange(IEnumerable<(Of <<'(LocalItem>)>>))
Adds the elements of the specified collection to the end of the LocalItemCollection.
Public methodSupported by the .NET Compact FrameworkClear
Removes all items from the collection.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkContains(String)
Determines whether the item with the specified path is in the colleciton.
(Overrides FileSystemItemCollection..::..Contains(String).)
Public methodSupported by the .NET Compact FrameworkContains(FileSystemItem)
Public methodSupported by the .NET Compact FrameworkContains(LocalItem)
Determines whether the item is in the collection.
Public methodSupported by the .NET Compact FrameworkCopyTo(array<FileSystemItem>[]()[][], Int32)
Copies the range of elements from the collection to a one-dimensional FileSystemItem array, starting at the specified index of the target array.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkCopyTo(array<LocalItem>[]()[][], Int32)
Copies the range of elements from the collection to a one-dimensional LocalItem array, starting at the specified index of the target array.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetEnumerator
Gets an IEnumerator<(Of <(<'T>)>)> for the collection.
Public methodSupported by the .NET Compact FrameworkGetFiles(String)
Returns the names of files in the collection that match the specified search pattern.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkGetFiles(Regex)
Returns the paths of files in the collection that match the specified search pattern.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkGetFiles(String, Boolean)
Returns the names of files in the collection that match the specified search pattern.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetTotalSize
Gets the total size of files contained in the collection.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkCheckItem
Validates whether the item is correct and can be added.
(Overrides FileSystemItemCollection..::..CheckItem(FileSystemItem).)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkRemove(String)
Removes the item with the specified path from the collection.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkRemove(FileSystemItem) (Overrides FileSystemItemCollection..::..Remove(FileSystemItem).)
Public methodSupported by the .NET Compact FrameworkRemove(LocalItem)
Removes the specified item from the collection.
Public methodSupported by the .NET Compact FrameworkRemoveAt
Removes the item at the specified index from the collection.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkSort()()()()
Sorts the items in the entire collection alphabetically.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkSort(IComparer)
Sorts the elements in the entire collection using the specified comparer.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkSort(Int32, Int32, IComparer)
Sorts the elements in a section of the collection using the specified comparer.
(Inherited from FileSystemItemCollection.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkCount
Gets the number of elements contained in the collection.
(Inherited from FileSystemItemCollection.)
Public propertySupported by the .NET Compact FrameworkItem[([( Int32])])
Gets the item at the specified index.
Public propertySupported by the .NET Compact FrameworkItem[([( String])])
Gets the item of the specified path.
Public propertySupported by the .NET Compact FrameworkSyncRoot
Gets an object that can be used to synchronize access to the collection.
(Inherited from FileSystemItemCollection.)
Public propertySupported by the .NET Compact FrameworkUsePath
Gets or sets a value that indicates whether to use a Path or Name for pattern matching and return values in the GetFiles(Regex) method.
(Inherited from FileSystemItemCollection.)

Explicit Interface Implementations

See Also