Compartir a través de


ObjectCacheElementCollection Class

 

Applies To: Dynamics CRM 2013

Represents an object cache element collection. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Configuration
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    System.Configuration.ConfigurationElementCollection
      Microsoft.Xrm.Client.Configuration.ConfigurationElementCollection<T>
        Microsoft.Xrm.Client.Configuration.ObjectCacheElementCollection

Syntax

[ConfigurationCollectionAttribute(typeof(ObjectCacheElement))]
public sealed class ObjectCacheElementCollection : ConfigurationElementCollection<ObjectCacheElement>
[ConfigurationCollectionAttribute((ObjectCacheElement^::typeid))]
public ref class ObjectCacheElementCollection sealed : ConfigurationElementCollection<ObjectCacheElement^>
[<Sealed>]
[<ConfigurationCollectionAttribute(typeof(ObjectCacheElement))>]
type ObjectCacheElementCollection = 
    class
        inherit ConfigurationElementCollection<ObjectCacheElement>
    end
<ConfigurationCollectionAttribute(GetType(ObjectCacheElement))>
Public NotInheritable Class ObjectCacheElementCollection
    Inherits ConfigurationElementCollection(Of ObjectCacheElement)

Constructors

Name Description
System_CAPS_pubmethod ObjectCacheElementCollection()

Initializes a new instance of the ObjectCacheElementCollection class.

Properties

Name Description
System_CAPS_protproperty AddElementName

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubproperty AllKeys

Gets all the keys in the ConfigurationElementCollection<T>(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_protproperty ClearElementName

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubproperty CollectionName

Gets or sets the name of the element collection.(Overrides ConfigurationElementCollection<T>.CollectionName.)

System_CAPS_pubproperty CollectionType

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubproperty Count

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubproperty Current

Gets the selected or default element.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubproperty CurrentConfiguration

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty Default

Gets or sets the default element name.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubproperty ElementInformation

(Inherited from ConfigurationElement.)

System_CAPS_protproperty ElementProperty

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty EmitClear

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubproperty IsSynchronized

(Inherited from ConfigurationElementCollection.)

System_CAPS_protproperty Item[ConfigurationProperty]

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty Item[Int32]

Gets or sets the element with the specified key.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubproperty Item[String]

Gets or sets the element with the specified key.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubproperty LockAllAttributesExcept

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockAllElementsExcept

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockAttributes

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockElements

(Inherited from ConfigurationElement.)

System_CAPS_pubproperty LockItem

(Inherited from ConfigurationElement.)

System_CAPS_protproperty Properties

(Inherited from ConfigurationElement.)

System_CAPS_protproperty RemoveElementName

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubproperty SyncRoot

(Inherited from ConfigurationElementCollection.)

Methods

Name Description
System_CAPS_pubmethod Add(T)

(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_protmethod BaseAdd(ConfigurationElement, Boolean)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod BaseClear()

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod BaseGet(Int32)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod BaseGet(Object)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod BaseGetAllKeys()

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod BaseGetKey(Int32)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod BaseIsRemoved(Object)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod BaseRemove(Object)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod BaseRemoveAt(Int32)

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubmethod CopyTo(ConfigurationElement[], Int32)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod DeserializeElement(XmlReader, Boolean)

(Inherited from ConfigurationElement.)

System_CAPS_pubmethod Equals(Object)

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubmethod GetElementOrDefault(String, Boolean)

Retrieves the selected element or falls back to the default.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubmethod GetHashCode()

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubmethod GetKey(Int32)

Gets the key at the specified index position.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod Init()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod InitializeDefault()

(Inherited from ConfigurationElement.)

System_CAPS_protmethod IsModified()

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubmethod IsReadOnly()

True if the collection is read only.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubmethod Remove(T)

Removes an element from the collection.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubmethod Remove(String)

Removes an element from the collection.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_pubmethod RemoveAt(Int32)

Removes the element at the specified position from the collection.(Inherited from ConfigurationElementCollection<T>.)

System_CAPS_protmethod Reset(ConfigurationElement)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod ResetModified()

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod SerializeElement(XmlWriter, Boolean)

(Inherited from ConfigurationElementCollection.)

System_CAPS_protmethod SerializeToXmlElement(XmlWriter, String)

(Inherited from ConfigurationElement.)

System_CAPS_protmethod SetReadOnly()

(Inherited from ConfigurationElementCollection.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

(Inherited from ConfigurationElementCollection.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static Name

Gets or sets the name of the element collection.

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from ConfigurationElementCollection.)

Extension Methods

Name Description
System_CAPS_pubmethod SerializeByJson(IEnumerable<Type>)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Client.Configuration Namespace
Developer extensions for Microsoft Dynamics CRM 2013

Return to top