ServiceModelExtensionCollectionElement<TServiceModelExtensionElement> Methods

The ServiceModelExtensionCollectionElement<TServiceModelExtensionElement> type exposes the following members.

  NameDescription
Public method Add Adds the specified element to this configuration section.
Public method CanAdd Adds a new behavior element to this section and returns a value that indicates whether the operation is successful.
Public method Clear Deletes all elements in this collection. This method cannot be inherited.
Public method Contains Returns a value that indicates whether this collection contains a specific element. This method cannot be inherited.
Public method ContainsKey Overloaded. Determines whether this collection contains an element of the specified key.
Public method CopyTo Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. This method cannot be inherited.
Protected method DeserializeElement Reads XML from the configuration file. (Overrides ConfigurationElement.DeserializeElement(XmlReader, Boolean).)
Public method Equals Compares the current ConfigurationElement instance to the specified object. (Inherited from ConfigurationElement.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an IEnumerator that iterates through a collection. This method cannot be inherited.
Public method GetHashCode Gets a unique value representing the current ConfigurationElement instance. (Inherited from ConfigurationElement.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Init Sets the ConfigurationElement object to its initial state. (Inherited from ConfigurationElement.)
Protected method InitializeDefault Used to initialize a default set of values for the ConfigurationElement object. (Inherited from ConfigurationElement.)
Protected method IsModified Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class. (Overrides ConfigurationElement.IsModified().)
Public method IsReadOnly Gets a value indicating whether the ConfigurationElement object is read-only. (Inherited from ConfigurationElement.)
Protected method ListErrors Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list. (Inherited from ConfigurationElement.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDeserializeUnrecognizedAttribute Gets a value indicating whether an unknown attribute is encountered during deserialization. (Inherited from ConfigurationElement.)
Protected method OnDeserializeUnrecognizedElement Gets a value that indicates whether an unknown element is encountered during deserialization. (Overrides ConfigurationElement.OnDeserializeUnrecognizedElement(String, XmlReader).)
Protected method OnRequiredPropertyNotFound Throws an exception when a required property is not found. (Inherited from ConfigurationElement.)
Protected method PostDeserialize Called after deserialization. (Inherited from ConfigurationElement.)
Protected method PreSerialize Called before serialization. (Inherited from ConfigurationElement.)
Public method Remove Removes the specified element from the collection. This method cannot be inherited.
Protected method Reset Resets this collection to its unmodified state when overridden in a derived class. (Overrides ConfigurationElement.Reset(ConfigurationElement).)
Protected method ResetModified Resets the value of the IsModified property to false when overridden in a derived class. (Overrides ConfigurationElement.ResetModified().)
Protected method SerializeElement Writes the contents of this configuration element to the configuration file when implemented in a derived class. (Inherited from ConfigurationElement.)
Protected method SerializeToXmlElement Writes the outer tags of this configuration element to the configuration file when implemented in a derived class. (Inherited from ConfigurationElement.)
Protected method SetIsModified Sets the IsModified property for this collection.
Protected method SetPropertyValue Sets a property to the specified value. (Inherited from ConfigurationElement.)
Protected method SetReadOnly Sets the internal IsReadOnly property for this collection and for all sub-elements. (Overrides ConfigurationElement.SetReadOnly().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method Unmerge Reverses the effect of merging configuration information from different levels of the configuration hierarchy. (Overrides ConfigurationElement.Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode).)
Top

  NameDescription
Public Extension Method Aggregate Applies an accumulator function over a sequence. (Defined by Enumerable.)
Public Extension Method All Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method Any Overloaded. Determines whether any element of a sequence exists or satisfies a condition.
Public Extension Method AsEnumerable Returns the input typed as IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method AsQueryable Overloaded. Converts an IEnumerable or generic IEnumerable<T> to an IQueryable or generic IQueryable<T>.
Public Extension Method Average Overloaded. Computes the average of a sequence of numeric values.
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Concat Concatenates two sequences. (Defined by Enumerable.)
Public Extension Method Contains Overloaded. Determines whether a sequence contains a specified element.
Public Extension Method Count Overloaded. Returns the number of elements in a sequence.
Public Extension Method DefaultIfEmpty Overloaded. Returns the elements of an IEnumerable<T>, or a default valued singleton collection if the sequence is empty.
Public Extension Method Distinct Overloaded. Returns distinct elements from a sequence.
Public Extension Method ElementAt Returns the element at a specified index in a sequence. (Defined by Enumerable.)
Public Extension Method ElementAtOrDefault Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.)
Public Extension Method Except Overloaded. Produces the set difference of two sequences.
Public Extension Method First Overloaded. Returns the first element of a sequence.
Public Extension Method FirstOrDefault Overloaded. Returns the first element of a sequence, or a default value if no element is found.
Public Extension Method Intersect Overloaded. Produces the set intersection of two sequences.
Public Extension Method Last Overloaded. Returns the last element of a sequence.
Public Extension Method LastOrDefault Overloaded. Returns the last element of a sequence, or a default value if no element is found.
Public Extension Method LongCount Overloaded. Returns an Int64 that represents the number of elements in a sequence.
Public Extension Method Max Overloaded. Returns the maximum value in a sequence of values.
Public Extension Method Min Overloaded. Returns the minimum value in a sequence of values.
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method Reverse Inverts the order of the elements in a sequence. (Defined by Enumerable.)
Public Extension Method SequenceEqual Overloaded. Determines whether two sequences are equal according to an equality comparer.
Public Extension Method Single Overloaded. Returns a single, specific element of a sequence of values.
Public Extension Method SingleOrDefault Overloaded. Returns a single, specific element of a sequence of values, or a default value if no such element is found.
Public Extension Method Skip Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhile Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
Public Extension Method Sum Overloaded. Computes the sum of a sequence of numeric values.
Public Extension Method Take Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.)
Public Extension Method TakeWhile Overloaded. Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
Public Extension Method ToArray Creates an array from a IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method ToList Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method Union Overloaded. Produces the set union of two sequences.
Public Extension Method Where Overloaded. Filters a sequence of values based on a predicate.
Top

  NameDescription
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an IEnumerator that iterates through a collection. This method cannot be inherited.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft