Search Results for

    Show / Hide Table of Contents

    Class SegmentPairCollection

    A collection of SegmentPairs. Adds support for indexing by segment number.

    Inheritance
    object
    SegmentPairCollection
    Implements
    IEnumerable<SegmentPair>
    IEnumerable
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Sdl.Core.Bcm.BcmModel.Collections
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    public class SegmentPairCollection : IEnumerable<SegmentPair>, IEnumerable

    Constructors

    SegmentPairCollection(IEnumerable<SegmentPair>)

    Initializes a new instance of the SegmentPairCollection class.

    Declaration
    public SegmentPairCollection(IEnumerable<SegmentPair> enumerable)
    Parameters
    Type Name Description
    IEnumerable<SegmentPair> enumerable

    The enumerable.

    Properties

    this[string]

    Gets the SegmentPair with the specified segment number.

    Declaration
    public SegmentPair this[string segmentNumber] { get; }
    Parameters
    Type Name Description
    string segmentNumber

    The segment number.

    Property Value
    Type Description
    SegmentPair

    The SegmentPair.

    Methods

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Declaration
    public IEnumerator<SegmentPair> GetEnumerator()
    Returns
    Type Description
    IEnumerator<SegmentPair>

    An enumerator that can be used to iterate through the collection.

    Implements

    IEnumerable<T>
    IEnumerable
    In this article
    Back to top Generated by DocFX