#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:


###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:

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:


###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:


###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.