#ScopeCollection
##Properties
| Datatype | Property name | Property description | Default Value |
|---|---|---|---|
| Int32 | Count | Gets the number of key/value pairs contained in the System.Collections.Specialized.NameObjectCollectionBase instance. | 0 |
| Scope | Item | Gets the value of the first entry with the specified key from the Izenda.AdHoc.ScopeCollection instance. | null |
| KeysCollection | Keys | Gets a System.Collections.Specialized.KeysCollection instance that contains all the keys in the System.Collections.Specialized.NameObjectCollectionBase instance. | {} |
##Methods
###Add(System.String,Izenda.AdHoc.Scope) Adds an entry with the specified key and value into the Izenda.AdHoc.ReportCollection instance.
Parameters:
- System.String key - The System.String key of the entry to add.
- Izenda.AdHoc.Scope value - The Izenda.AdHoc.Report value of the entry to add.
###Contains(System.String) Determines whether the settings cache contains a value with the specified key.
Parameters:
- System.String key - The name of the setting to check for in any scope.
Returns:
True when the setting is found in any scope.
###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.
Parameters:
- System.Object obj - The System.Object to compare with the current System.Object.
Returns:
true if the specified System.Object is equal to the current System.Object; otherwise, false.
###GetEnumerator() Returns an enumerator that iterates through the System.Collections.Specialized.NameObjectCollectionBase.
Returns:
An System.Collections.IEnumerator for the System.Collections.Specialized.NameObjectCollectionBase instance.
###GetHashCode() Serves as a hash function for a particular type.
Returns:
A hash code for the current System.Object.
###GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the System.Collections.Specialized.NameObjectCollectionBase instance.
Parameters:
- System.Runtime.Serialization.SerializationInfo info - A System.Runtime.Serialization.SerializationInfo object that contains the information required to serialize the System.Collections.Specialized.NameObjectCollectionBase instance.
- System.Runtime.Serialization.StreamingContext context - A System.Runtime.Serialization.StreamingContext object that contains the source and destination of the serialized stream associated with the System.Collections.Specialized.NameObjectCollectionBase instance.
###GetType() Gets the System.Type of the current instance.
Returns:
The System.Type instance that represents the exact runtime type of the current instance.
###OnDeserialization(System.Object) Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete.
Parameters:
- System.Object sender - The source of the deserialization event.
###Remove(System.String) Removes the entries with the specified key from the Izenda.AdHoc.ScopeCollection instance.
Parameters:
- System.String key - The System.String key of the entries to remove.
###ToString() Returns a System.String that represents the current System.Object.
Returns:
A System.String that represents the current System.Object.
