다음을 통해 공유


GlobalTypeCollection Members

Include Protected Members
Include Inherited Members

A strongly typed collection of global types.

The GlobalTypeCollection type exposes the following members.

Constructors

  Name Description
Public method GlobalTypeCollection() Creates a strongly-typed collection of global objects.
Public method GlobalTypeCollection(array<GlobalType[]) Creates a strongly-typed collection of global objects.
Public method GlobalTypeCollection(GlobalTypeCollection) Creates a strongly-typed collection of global objects.
Public method GlobalTypeCollection(array<GlobalType[], Boolean) Creates a strongly-typed collection of global objects.
Public method GlobalTypeCollection(GlobalTypeCollection, Boolean) Creates a strongly-typed collection of global objects.

Top

Methods

  Name Description
Public method Add Adds a new item to the collection.
Public method AddRange(array<GlobalType[]) Adds a range of items to the collection.
Public method AddRange(GlobalTypeCollection) Adds a range of items to the collection.
Public method Clear Clears the contents of this collection.
Public method Contains Determines whether the specified item is in the collection
Public method CopyTo Copies the contents of this collection to the given array starting at the given index.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize 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 method GetEnumerator Returns an enumerator you can use to enumerate through this collection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Get the position of the specified item.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Insert Inserts an item into the underlying list at the specified position.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Remove Remove an item from the collection.
Public method RemoveAt Removes the item at the specified position.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Gets the number of items in this collection.
Public propertyStatic member Empty Gets an empty instance of this collection.
Public property IsFixedSize Gets whether or not this collection's size can be changed.
Public property IsReadOnly Gets whether the collection is read-only.
Public property IsSynchronized Determines whether this collection is synchronized for multi-threaded access.
Public property Item Gets an item at the specified position.
Public property SyncRoot Returns an object to use for thread-safe access.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add Adds an item to the collection.
Explicit interface implemetationPrivate method IList.Contains Determines whether the specified item is in the collection.
Explicit interface implemetationPrivate method ICollection.CopyTo Copies objects to the specified array starting at the specified position.
Explicit interface implemetationPrivate method IList.IndexOf Gets the position of an item in the collection.
Explicit interface implemetationPrivate method IList.Insert Inserts an object in the collection at the specified position.
Explicit interface implemetationPrivate property IList.Item Gets or sets the item at the specified position in the collection.
Explicit interface implemetationPrivate method IList.Remove Removes an item from the collection.

Top

See Also

Reference

GlobalTypeCollection Class

Microsoft.VisualStudio.Shell.Design Namespace