GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    CustomerDataCollection Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a collection of customer data.

    • C#
    • VB.NET
    public sealed class CustomerDataCollection : IEnumerable<CustomXmlPart>, IEnumerable
    Public NotInheritable Class CustomerDataCollection
        Implements IEnumerable(Of CustomXmlPart), IEnumerable
    Inheritance:
    System.Object
    CustomerDataCollection
    Implements
    System.Collections.Generic.IEnumerable<CustomXmlPart>
    System.Collections.IEnumerable

    Properties

    Count

    Gets the number of CustomXmlParts contained in the collection.

    • C#
    • VB.NET
    public int Count { get; }
    Public ReadOnly Property Count As Integer
    Property Value
    System.Int32

    The number of CustomXmlParts contained in the collection.

    Methods

    Add(CustomXmlPart)

    Adds a CustomXmlPart to the end of the collection.

    • C#
    • VB.NET
    public void Add(CustomXmlPart item)
    Public Sub Add(item As CustomXmlPart)
    Parameters
    item
    CustomXmlPart

    The CustomXmlPart to be added to the end of the collection.

    Exceptions
    System.ArgumentNullException

    item is null.

    System.ArgumentException

    item is already contained in another CustomXmlPartCollection or it belongs to another SlideObject.

    Clear()

    Removes all CustomXmlParts from the collection.

    • C#
    • VB.NET
    public void Clear()
    Public Sub Clear

    Contains(CustomXmlPart)

    Determines whether a CustomXmlPart is in the collection.

    • C#
    • VB.NET
    public bool Contains(CustomXmlPart item)
    Public Function Contains(item As CustomXmlPart) As Boolean
    Parameters
    item
    CustomXmlPart

    The CustomXmlPart to locate in the collection.

    Returns
    System.Boolean

    true if item is found in the collection; otherwise, false.

    Exceptions
    System.ArgumentNullException

    item is null.

    GetEnumerator()

    Returns an enumerator that iterates through the CustomXmlPartCollection.

    • C#
    • VB.NET
    public IEnumerator<CustomXmlPart> GetEnumerator()
    Public Function GetEnumerator As IEnumerator(Of CustomXmlPart)
    Returns
    System.Collections.Generic.IEnumerator<CustomXmlPart>

    An System.Collections.Generic.IEnumerator<T> for the collection.

    Remove(CustomXmlPart)

    Removes the first occurrence of a specific CustomXmlPart from the collection.

    • C#
    • VB.NET
    public bool Remove(CustomXmlPart item)
    Public Function Remove(item As CustomXmlPart) As Boolean
    Parameters
    item
    CustomXmlPart

    The CustomXmlPart to remove from the collection.

    Returns
    System.Boolean

    true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the original collection.

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.