Search Results for

    Show / Hide Table of Contents

    Class SegmentPairCollection

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

    Inheritance
    System.Object
    SegmentPairCollection
    Implements
    System.Collections.Generic.IEnumerable<SegmentPair>
    System.Collections.IEnumerable
    Namespace: Sdl.Core.Bcm.BcmModel.Collections
    Assembly: Sdl.Core.Bcm.BcmModel.dll
    Syntax
    public class SegmentPairCollection : Object

    Constructors

    SegmentPairCollection(IEnumerable<SegmentPair>)

    Initializes a new instance of the SegmentPairCollection class.

    Declaration
    public SegmentPairCollection(IEnumerable<SegmentPair> enumerable)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<SegmentPair> enumerable

    The enumerable.

    Properties

    Item[String]

    Gets the SegmentPair with the specified segment number.

    Declaration
    public SegmentPair this[string segmentNumber] { get; }
    Parameters
    Type Name Description
    System.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
    System.Collections.Generic.IEnumerator<SegmentPair>

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

    Implements

    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable

    On this page

    Back to top Generated by DocFX