Search Results for

    Show / Hide Table of Contents

    Class DocumentProviderCollection

    Contains a collection of DocumentProviders.

    Inheritance
    object
    DocumentProviderCollection
    Namespace: ABB.Robotics.RobotStudio.Documents
    Assembly: ABB.Robotics.RobotStudio.Documents.dll
    Syntax
    public sealed class DocumentProviderCollection

    Constructors

    View Source

    DocumentProviderCollection()

    Declaration
    public DocumentProviderCollection()

    Properties

    View Source

    Count

    Gets the number of providers contained in the collection.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    View Source

    IsReadOnly

    Gets a value indicating whether the collection is read-only.

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    bool
    View Source

    this[string]

    Returns the provider with the specified Id.

    Declaration
    public DocumentProvider this[string id] { get; }
    Parameters
    Type Name Description
    string id
    Property Value
    Type Description
    DocumentProvider

    Methods

    View Source

    Add(DocumentProvider)

    Adds a provider to the collection.

    Declaration
    public void Add(DocumentProvider item)
    Parameters
    Type Name Description
    DocumentProvider item
    View Source

    Clear()

    Removes all providers from the collection.

    Declaration
    public void Clear()
    View Source

    Clear(bool)

    Removes all providers from the collection.

    Declaration
    public void Clear(bool saveCache)
    Parameters
    Type Name Description
    bool saveCache

    True if the providers should save their document cache.

    View Source

    Contains(DocumentProvider)

    Determines whether the collection contains the specified provider.

    Declaration
    public bool Contains(DocumentProvider item)
    Parameters
    Type Name Description
    DocumentProvider item
    Returns
    Type Description
    bool
    View Source

    Contains(string)

    Determines whether the collection contains a provider with the specified Id.

    Declaration
    public bool Contains(string id)
    Parameters
    Type Name Description
    string id
    Returns
    Type Description
    bool
    View Source

    CopyTo(DocumentProvider[], int)

    Overloaded

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

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Declaration
    public IEnumerator<DocumentProvider> GetEnumerator()
    Returns
    Type Description
    IEnumerator<DocumentProvider>
    View Source

    Remove(DocumentProvider)

    Removes a provider from the collection.

    Declaration
    public bool Remove(DocumentProvider item)
    Parameters
    Type Name Description
    DocumentProvider item
    Returns
    Type Description
    bool
    View Source

    Remove(string)

    Removes the provider with the specified Id from the collection.

    Declaration
    public bool Remove(string id)
    Parameters
    Type Name Description
    string id
    Returns
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2026 ABB Robotics