Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPartsDatabaseMessages Class / CopyTo Method
The one-dimensional Array that is the destination of the elements copied from MDPartsDatabaseMessages. The Array must have zero-based indexing.

In This Topic
    CopyTo Method (MDPartsDatabaseMessages)
    In This Topic
    Copies the elements of the MDPartsDatabaseMessages to an Array, starting at a particular Array index.
    Syntax
    public virtual void CopyTo( 
       MDPartsMessage[] messages,
       int arrayIndex
    )
    public:
    virtual void CopyTo( 
       array<MDPartsMessage^>^ messages,
       int arrayIndex
    ) 

    Parameters

    messages
    The one-dimensional Array that is the destination of the elements copied from MDPartsDatabaseMessages. The Array must have zero-based indexing.
    arrayIndex
    Exceptions
    ExceptionDescription
    Array of messages is a null reference.
    ArrayIndex is less than 0.
    Array of messages is multidimensional -or- ArrayIndex is equal to or greater than the length of Array of messages -or- The number of elements in the source MDPartsDatabaseMessages is greater than the available space from arrayIndex to the end of the destination array.
    See Also