SiteMapDictionary
Properties
DefaultSiteMap - SiteMapBase
Gets or sets the default cache duration in minutes.
Count - Int32
IsReadOnly - Boolean
Keys - ICollection
Values - ICollection
Item - SiteMapBase
Gets or sets the default cache duration in minutes.
Methods
Register(System.String,System.Action)
Registers the specified name.
Parameters
name - System.String
The name.
configure - System.Action<TSiteMap>
The configure.
Add(System.Collections.Generic.KeyValuePair)
Adds an item to the System.Collections.Generic.ICollection.
Parameters
item - System.Collections.Generic.KeyValuePair<String,SiteMapBase>
The object to add to the System.Collections.Generic.ICollection.
Add(System.String,Kendo.Mvc.SiteMapBase)
Adds an element with the provided key and value to the System.Collections.Generic.IDictionary.
Parameters
key - System.String
The object to use as the key of the element to add.
value - SiteMapBase
The object to use as the value of the element to add.
Clear()
Removes all items from the System.Collections.Generic.ICollection.
Contains(System.Collections.Generic.KeyValuePair)
Determines whether the System.Collections.Generic.ICollection contains a specific value.
Parameters
item - System.Collections.Generic.KeyValuePair<String,SiteMapBase>
The object to locate in the System.Collections.Generic.ICollection.
RETURNS
true if "item" is found in the System.Collections.Generic.ICollection; otherwise, false.
ContainsKey(System.String)
Determines whether the System.Collections.Generic.IDictionary contains an element with the specified key.
Parameters
key - System.String
The key to locate in the System.Collections.Generic.IDictionary.
RETURNS
true if the System.Collections.Generic.IDictionary contains an element with the key; otherwise, false.
CopyTo(System.Collections.Generic.KeyValuePair[],System.Int32)
Copies the elements of the System.Collections.Generic.ICollection to an System.Array, starting at a particular System.Array index.
Parameters
array - System.Collections.Generic.KeyValuePair
2[]`
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection. The System.Array must have zero-based indexing.
arrayIndex - System.Int32
The zero-based index in "array" at which copying begins.
GetEnumerator()
Returns an enumerator that iterates through the collection.
RETURNS
A System.Collections.Generic.IEnumerator that can be used to iterate through the collection.
Remove(System.Collections.Generic.KeyValuePair)
Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.
Parameters
item - System.Collections.Generic.KeyValuePair<String,SiteMapBase>
The object to remove from the System.Collections.Generic.ICollection.
RETURNS
true if "item" was successfully removed from the System.Collections.Generic.ICollection; otherwise, false. This method also returns false if "item" is not found in the original System.Collections.Generic.ICollection.
Remove(System.String)
Removes the element with the specified key from the System.Collections.Generic.IDictionary.
Parameters
key - System.String
The key of the element to remove.
RETURNS
true if the element is successfully removed; otherwise, false. This method also returns false if "key" was not found in the original System.Collections.Generic.IDictionary.