Click or drag to resize

CrestronCollectionT Class

Crestron specialized one-based object collection.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpProReadOnlyCollectionUInt32, T
    Crestron.SimplSharpProCrestronCollectionT

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public class CrestronCollection<T> : ReadOnlyCollection<uint, T>, 
	IEnumerable<T>, IEnumerable

Type Parameters

T
The type that makes up the collection.

The CrestronCollectionT type exposes the following members.

Constructors
 NameDescription
Public methodCrestronCollectionT Constructor to create a new crestron collection.
Top
Properties
 NameDescription
Public propertyCount Gets the number of objects in the this collection.
(Inherited from ReadOnlyCollectionTKey, TValue)
Public propertyItem Get the object at the specified number.
(Overrides ReadOnlyCollectionTKey, TValueItemTKey)
Public propertyKeys Get the keys associated with this collection.
(Inherited from ReadOnlyCollectionTKey, TValue)
Public propertyValues Get the values associated with this collection.
(Inherited from ReadOnlyCollectionTKey, TValue)
Top
Methods
 NameDescription
Protected methodAdd Method to add something to the collection.
(Inherited from ReadOnlyCollectionTKey, TValue)
Public methodContains Determines if this collection contains the specified key.
(Inherited from ReadOnlyCollectionTKey, TValue)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumerator Enumerator for the Crestron Collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetObject Method to get object at the specified number.
(Inherited from ReadOnlyCollectionTKey, TValue)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetValue Get the value associated with the specified key.
(Inherited from ReadOnlyCollectionTKey, TValue)
Top
Fields
 NameDescription
Protected field_InternalDictionary Internal storage of the objects
(Inherited from ReadOnlyCollectionTKey, TValue)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also