Click or drag to resize

SmartObjectCollection Class

Collection containing SmartObjects. This collection will dynamically allocated new SmartObjects as they are call for.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpProReadOnlyCollectionUInt32, SmartObject
    Crestron.SimplSharpProSmartObjectCollection

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

The SmartObjectCollection type exposes the following members.

Properties
 NameDescription
Public propertyCount Gets the number of SmartObjects in this collection.
(Overrides ReadOnlyCollectionTKey, TValueCount)
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 SmartObject ID.
(Overrides ReadOnlyCollectionTKey, TValueContains(TKey))
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 return the SmartObject at the specified index.
(Overrides ReadOnlyCollectionTKey, TValueGetObject(TKey))
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 SmartObject associated with the specified SmartObject ID.
(Overrides ReadOnlyCollectionTKey, TValueTryGetValue(TKey, 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