Search Results for

    Show / Hide Table of Contents

    Class ListBme680HeaterProfileConfig

    List class for type Bme680HeaterProfileConfig that has been automatically generated.

    Inheritance
    Object
    ListBme680HeaterProfileConfig
    Implements
    IEnumerable
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: System.Collections.Generic
    Assembly: Iot.Device.Bmxx80.dll
    Syntax
    public class ListBme680HeaterProfileConfig : IEnumerable

    Constructors

    | Improve this Doc View Source

    ListBme680HeaterProfileConfig()

    Initializes a new instance of the ListBme680HeaterProfileConfig class. List class that is empty and has the default initial capacity.

    Declaration
    public ListBme680HeaterProfileConfig()
    | Improve this Doc View Source

    ListBme680HeaterProfileConfig(IEnumerable)

    Initializes a new instance of the ListBme680HeaterProfileConfig class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.

    Declaration
    public ListBme680HeaterProfileConfig(IEnumerable collection)
    Parameters
    Type Name Description
    IEnumerable collection

    The collection whose elements are copied to the new list.

    Exceptions
    Type Condition
    ArgumentNullException

    Collection is null.

    | Improve this Doc View Source

    ListBme680HeaterProfileConfig(Int32)

    Initializes a new instance of the ListBme680HeaterProfileConfig class. List class that is empty and has the specified initial capacity.

    Declaration
    public ListBme680HeaterProfileConfig(int capacity)
    Parameters
    Type Name Description
    Int32 capacity

    The number of elements that the new list can initially store.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Capacity is less than 0.

    Properties

    | Improve this Doc View Source

    Capacity

    Gets or sets the total number of elements the internal data structure can hold without resizing.

    Declaration
    public int Capacity { get; set; }
    Property Value
    Type Description
    Int32
    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    System.Collections.Generic.List.Capacity is set to a value that is less than System.Collections.Generic.List.Count.

    | Improve this Doc View Source

    Count

    Gets the number of elements contained in the System.Collections.Generic.List.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Item[Int32]

    Gets or sets the element at the specified index.

    Declaration
    public Bme680HeaterProfileConfig this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index

    The zero-based index of the element to get or set.

    Property Value
    Type Description
    Bme680HeaterProfileConfig

    The element at the specified index.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Index is less than 0. -or- index is equal to or greater than System.Collections.Generic.List.Count.

    Methods

    | Improve this Doc View Source

    Add(Bme680HeaterProfileConfig)

    Adds an object to the end of the System.Collections.Generic.List.

    Declaration
    public void Add(Bme680HeaterProfileConfig item)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to be added to the end of the System.Collections.Generic.List. The value can be null for reference types.

    | Improve this Doc View Source

    AddRange(IEnumerable)

    Adds the elements of the specified collection to the end of the System.Collections.Generic.List.

    Declaration
    public void AddRange(IEnumerable collection)
    Parameters
    Type Name Description
    IEnumerable collection

    The collection whose elements should be added to the end of the System.Collections.Generic.List. The collection itself cannot be null, but it can contain elements that are null, if type Bme680HeaterProfileConfig is a reference type.

    Exceptions
    Type Condition
    ArgumentNullException

    Collection is null.

    | Improve this Doc View Source

    Contains(Bme680HeaterProfileConfig)

    Determines whether an element is in the System.Collections.Generic.List.

    Declaration
    public bool Contains(Bme680HeaterProfileConfig item)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to locate in the System.Collections.Generic.List. The value can be null for reference types.

    Returns
    Type Description
    Boolean

    true if item is found in the System.Collections.Generic.List; otherwise, false.

    | Improve this Doc View Source

    CopyTo(Bme680HeaterProfileConfig[])

    Copies the entire System.Collections.Generic.List to a compatible one-dimensional array, starting at the beginning of the target array.

    Declaration
    public void CopyTo(Bme680HeaterProfileConfig[] array)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig[] array

    The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.List. The System.Array must have zero-based indexing.

    Exceptions
    Type Condition
    ArgumentNullException

    Array is null.

    ArgumentException

    The number of elements in the source System.Collections.Generic.List is greater than the number of elements that the destination array can contain.

    | Improve this Doc View Source

    CopyTo(Bme680HeaterProfileConfig[], Int32)

    Copies the entire System.Collections.Generic.List to a compatible one-dimensional array, starting at the specified index of the target array.

    Declaration
    public void CopyTo(Bme680HeaterProfileConfig[] array, int arrayIndex)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig[] array

    The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.List. The System.Array must have zero-based indexing.

    Int32 arrayIndex

    The zero-based index in array at which copying begins.

    Exceptions
    Type Condition
    ArgumentNullException

    Array is null.

    ArgumentOutOfRangeException

    ArrayIndex is less than 0.

    ArgumentException

    The number of elements in the source System.Collections.Generic.List is greater than the available space from arrayIndex to the end of the destination array.

    | Improve this Doc View Source

    CopyTo(Int32, Bme680HeaterProfileConfig[], Int32, Int32)

    Copies a range of elements from the System.Collections.Generic.List to a compatible one-dimensional array, starting at the specified index of the target array.

    Declaration
    public void CopyTo(int index, Bme680HeaterProfileConfig[] array, int arrayIndex, int count)
    Parameters
    Type Name Description
    Int32 index

    The zero-based index in the source System.Collections.Generic.List at which copying begins.

    Bme680HeaterProfileConfig[] array

    The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.List. The System.Array must have zero-based indexing.

    Int32 arrayIndex

    The zero-based index in array at which copying begins.

    Int32 count

    The number of elements to copy.

    Exceptions
    Type Condition
    ArgumentNullException

    Array is null.

    ArgumentOutOfRangeException

    Index is less than 0. -or- arrayIndex is less than 0. -or- count is less than 0.

    ArgumentException

    Index is equal to or greater than the System.Collections.Generic.List.Count of the source System.Collections.Generic.List. -or- The number of elements from index to the end of the source System.Collections.Generic.List is greater than the available space from arrayIndex to the end of the destination array.

    | Improve this Doc View Source

    GetEnumerator()

    Returns an enumerator that iterates through the System.Collections.Generic.List.

    Declaration
    public IEnumerator GetEnumerator()
    Returns
    Type Description
    IEnumerator

    A System.Collections.Generic.List.Enumerator for the System.Collections.Generic.List.

    | Improve this Doc View Source

    GetRange(Int32, Int32)

    Creates a shallow copy of a range of elements in the source System.Collections.Generic.List.

    Declaration
    public ListBme680HeaterProfileConfig GetRange(int index, int count)
    Parameters
    Type Name Description
    Int32 index

    The zero-based System.Collections.Generic.List index at which the range starts.

    Int32 count

    The number of elements in the range.

    Returns
    Type Description
    ListBme680HeaterProfileConfig

    A shallow copy of a range of elements in the source System.Collections.Generic.List.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Index is less than 0. -or- count is less than 0.

    ArgumentException

    Index and count do not denote a valid range of elements in the System.Collections.Generic.List.

    | Improve this Doc View Source

    IndexOf(Bme680HeaterProfileConfig)

    Searches for the specified object and returns the zero-based index of the first occurrence within the entire System.Collections.Generic.List.

    Declaration
    public int IndexOf(Bme680HeaterProfileConfig item)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to locate in the System.Collections.Generic.List. The value can be null for reference types.

    Returns
    Type Description
    Int32

    The zero-based index of the first occurrence of item within the entire System.Collections.Generic.List, if found; otherwise, -1.

    | Improve this Doc View Source

    IndexOf(Bme680HeaterProfileConfig, Int32)

    Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the System.Collections.Generic.List that extends from the specified index to the last element.

    Declaration
    public int IndexOf(Bme680HeaterProfileConfig item, int index)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to locate in the System.Collections.Generic.List. The value can be null for reference types.

    Int32 index

    The zero-based starting index of the search. 0 (zero) is valid in an empty list.

    Returns
    Type Description
    Int32

    The zero-based index of the first occurrence of item within the range of elements in the System.Collections.Generic.List that extends from index to the last element, if found; otherwise, -1.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Index is outside the range of valid indexes for the System.Collections.Generic.List.

    | Improve this Doc View Source

    IndexOf(Bme680HeaterProfileConfig, Int32, Int32)

    Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the System.Collections.Generic.List that starts at the specified index and contains the specified number of elements.

    Declaration
    public int IndexOf(Bme680HeaterProfileConfig item, int index, int count)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to locate in the System.Collections.Generic.List. The value can be null for reference types.

    Int32 index

    The zero-based starting index of the search. 0 (zero) is valid in an empty list.

    Int32 count

    The number of elements in the section to search.

    Returns
    Type Description
    Int32

    The zero-based index of the first occurrence of item within the range of elements in the System.Collections.Generic.List that starts at index and contains count number of elements, if found; otherwise, -1.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Index is outside the range of valid indexes for the System.Collections.Generic.List. -or- count is less than 0. -or- index and count do not specify a valid section in the System.Collections.Generic.List.

    | Improve this Doc View Source

    Insert(Int32, Bme680HeaterProfileConfig)

    Inserts an element into the System.Collections.Generic.List at the specified index.

    Declaration
    public void Insert(int index, Bme680HeaterProfileConfig item)
    Parameters
    Type Name Description
    Int32 index

    The zero-based index at which item should be inserted.

    Bme680HeaterProfileConfig item

    The object to insert. The value can be null for reference types.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Index is less than 0. -or- index is greater than System.Collections.Generic.List.Count.

    | Improve this Doc View Source

    InsertRange(Int32, IEnumerable)

    Inserts the elements of a collection into the System.Collections.Generic.List at the specified index.

    Declaration
    public void InsertRange(int index, IEnumerable collection)
    Parameters
    Type Name Description
    Int32 index

    The zero-based index at which the new elements should be inserted.

    IEnumerable collection

    The collection whose elements should be inserted into the System.Collections.Generic.List. The collection itself cannot be null, but it can contain elements that are null, if type Bme680HeaterProfileConfig is a reference type.

    Exceptions
    Type Condition
    ArgumentNullException

    Collection is null.

    ArgumentOutOfRangeException

    Index is less than 0. -or- index is greater than System.Collections.Generic.List.Count.

    | Improve this Doc View Source

    LastIndexOf(Bme680HeaterProfileConfig)

    Searches for the specified object and returns the zero-based index of the last occurrence within the entire System.Collections.Generic.List.

    Declaration
    public int LastIndexOf(Bme680HeaterProfileConfig item)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to locate in the System.Collections.Generic.List. The value can be null for reference types.

    Returns
    Type Description
    Int32

    The zero-based index of the last occurrence of item within the entire the System.Collections.Generic.List, if found; otherwise, -1.

    | Improve this Doc View Source

    LastIndexOf(Bme680HeaterProfileConfig, Int32)

    Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the System.Collections.Generic.List that extends from the first element to the specified index.

    Declaration
    public int LastIndexOf(Bme680HeaterProfileConfig item, int index)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to locate in the System.Collections.Generic.List. The value can be null for reference types.

    Int32 index

    The zero-based starting index of the backward search.

    Returns
    Type Description
    Int32

    The zero-based index of the last occurrence of item within the range of elements in the System.Collections.Generic.List that extends from the first element to index, if found; otherwise, -1.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Index is outside the range of valid indexes for the System.Collections.Generic.List.

    | Improve this Doc View Source

    LastIndexOf(Bme680HeaterProfileConfig, Int32, Int32)

    Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the System.Collections.Generic.List that contains the specified number of elements and ends at the specified index.

    Declaration
    public int LastIndexOf(Bme680HeaterProfileConfig item, int index, int count)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to locate in the System.Collections.Generic.List. The value can be null for reference types.

    Int32 index

    The zero-based starting index of the backward search.

    Int32 count

    The number of elements in the section to search.

    Returns
    Type Description
    Int32

    The zero-based index of the last occurrence of item within the range of elements in the System.Collections.Generic.List that contains count number of elements and ends at index, if found; otherwise, -1.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Index is outside the range of valid indexes for the System.Collections.Generic.List. -or- count is less than 0. -or- index and count do not specify a valid section in the System.Collections.Generic.List.

    | Improve this Doc View Source

    Remove(Bme680HeaterProfileConfig)

    Removes the first occurrence of a specific object from the System.Collections.Generic.List.

    Declaration
    public bool Remove(Bme680HeaterProfileConfig item)
    Parameters
    Type Name Description
    Bme680HeaterProfileConfig item

    The object to remove from the System.Collections.Generic.List. The value can be null for reference types.

    Returns
    Type Description
    Boolean

    true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the System.Collections.Generic.List.

    | Improve this Doc View Source

    RemoveAt(Int32)

    Removes the element at the specified index of the System.Collections.Generic.List.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    Int32 index

    The zero-based index of the element to remove.

    | Improve this Doc View Source

    RemoveRange(Int32, Int32)

    Removes a range of elements from the System.Collections.Generic.List.

    Declaration
    public void RemoveRange(int index, int count)
    Parameters
    Type Name Description
    Int32 index

    The zero-based starting index of the range of elements to remove.

    Int32 count

    The number of elements to remove.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Index is less than 0. -or- count is less than 0.

    ArgumentException

    Index and count do not denote a valid range of elements in the System.Collections.Generic.List.

    | Improve this Doc View Source

    ToArray()

    Copies the elements of the System.Collections.Generic.List to a new array.

    Declaration
    public Bme680HeaterProfileConfig[] ToArray()
    Returns
    Type Description
    Bme680HeaterProfileConfig[]

    An array containing copies of the elements of the System.Collections.Generic.List.

    Explicit Interface Implementations

    | Improve this Doc View Source

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    IEnumerator

    Implements

    IEnumerable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX