Udostępnij za pośrednictwem


GlobalTypeCollection Class

Definition

A strongly typed collection of global types.

public ref class GlobalTypeCollection sealed : MarshalByRefObject, System::Collections::IList
public sealed class GlobalTypeCollection : MarshalByRefObject, System.Collections.IList
type GlobalTypeCollection = class
    inherit MarshalByRefObject
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class GlobalTypeCollection
Inherits MarshalByRefObject
Implements IList
Inheritance
GlobalTypeCollection
Implements

Constructors

GlobalTypeCollection()

Creates a strongly-typed collection of global objects.

GlobalTypeCollection(GlobalType[], Boolean)

Creates a strongly-typed collection of global objects.

GlobalTypeCollection(GlobalType[])

Creates a strongly-typed collection of global objects.

GlobalTypeCollection(GlobalTypeCollection, Boolean)

Creates a strongly-typed collection of global objects.

GlobalTypeCollection(GlobalTypeCollection)

Creates a strongly-typed collection of global objects.

Properties

Count

Gets the number of items in this collection.

Empty

Gets an empty instance of this collection.

IsFixedSize

Gets whether or not this collection's size can be changed.

IsReadOnly

Gets whether the collection is read-only.

IsSynchronized

Determines whether this collection is synchronized for multi-threaded access.

Item[Int32]

Gets an item at the specified position.

SyncRoot

Returns an object to use for thread-safe access.

Methods

Add(GlobalType)

Adds a new item to the collection.

AddRange(GlobalType[])

Adds a range of items to the collection.

AddRange(GlobalTypeCollection)

Adds a range of items to the collection.

Clear()

Clears the contents of this collection.

Contains(GlobalType)

Determines whether the specified item is in the collection

CopyTo(GlobalType[], Int32)

Copies the contents of this collection to the given array starting at the given index.

GetEnumerator()

Returns an enumerator you can use to enumerate through this collection.

IndexOf(GlobalType)

Get the position of the specified item.

Insert(Int32, GlobalType)

Inserts an item into the underlying list at the specified position.

Remove(GlobalType)

Remove an item from the collection.

RemoveAt(Int32)

Removes the item at the specified position.

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies objects to the specified array starting at the specified position.

IList.Add(Object)

Adds an item to the collection.

IList.Contains(Object)

Determines whether the specified item is in the collection.

IList.IndexOf(Object)

Gets the position of an item in the collection.

IList.Insert(Int32, Object)

Inserts an object in the collection at the specified position.

IList.Item[Int32]
IList.Remove(Object)

Removes an item from the collection.

Applies to