GlobalTypeCollection Class

 

A strongly typed collection of global types.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

System.Object
  System.MarshalByRefObject
    Microsoft.VisualStudio.Shell.Design.GlobalTypeCollection

public sealed class GlobalTypeCollection : MarshalByRefObject, 
	IList, ICollection, IEnumerable

NameDescription
System_CAPS_pubmethodGlobalTypeCollection()

Creates a strongly-typed collection of global objects.

System_CAPS_pubmethodGlobalTypeCollection(GlobalType[])

Creates a strongly-typed collection of global objects.

System_CAPS_pubmethodGlobalTypeCollection(GlobalType[], Boolean)

Creates a strongly-typed collection of global objects.

System_CAPS_pubmethodGlobalTypeCollection(GlobalTypeCollection)

Creates a strongly-typed collection of global objects.

System_CAPS_pubmethodGlobalTypeCollection(GlobalTypeCollection, Boolean)

Creates a strongly-typed collection of global objects.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of items in this collection.

System_CAPS_pubpropertySystem_CAPS_staticEmpty

Gets an empty instance of this collection.

System_CAPS_pubpropertyIsFixedSize

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

System_CAPS_pubpropertyIsReadOnly

Gets whether the collection is read-only.

System_CAPS_pubpropertyIsSynchronized

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

System_CAPS_pubpropertyItem[Int32]

Gets an item at the specified position.

System_CAPS_pubpropertySyncRoot

Returns an object to use for thread-safe access.

NameDescription
System_CAPS_pubmethodAdd(GlobalType)

Adds a new item to the collection.

System_CAPS_pubmethodAddRange(GlobalType[])

Adds a range of items to the collection.

System_CAPS_pubmethodAddRange(GlobalTypeCollection)

Adds a range of items to the collection.

System_CAPS_pubmethodClear()

Clears the contents of this collection.

System_CAPS_pubmethodContains(GlobalType)

Determines whether the specified item is in the collection

System_CAPS_pubmethodCopyTo(GlobalType[], Int32)

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

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(GlobalType)

Get the position of the specified item.

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodInsert(Int32, GlobalType)

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

System_CAPS_pubmethodRemove(GlobalType)

Remove an item from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the item at the specified position.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Determines whether the specified item is in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Gets the position of an item in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an object in the collection at the specified position.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes an item from the collection.

The collection can be read-write or read-only. A read-write collection can be cheaply passed to the constructor of GlobalTypeCollection to make a read only version without copying the collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: