Back to Devexpress

ValueDataMemberCollection.Assign(ValueDataMemberCollection) Method

corelibraries-devexpress-dot-xtracharts-dot-valuedatamembercollection-dot-assign-x28-devexpress-dot-xtracharts-dot-valuedatamembercollection-x29.md

latest2.0 KB
Original Source

ValueDataMemberCollection.Assign(ValueDataMemberCollection) Method

Copies all the elements from the ValueDataMemberCollection object passed as the parameter.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public virtual void Assign(
    ValueDataMemberCollection collection
)
vb
Public Overridable Sub Assign(
    collection As ValueDataMemberCollection
)

Parameters

NameTypeDescription
collectionValueDataMemberCollection

A ValueDataMemberCollection object whose elements are copied to the current object. If null ( Nothing in Visual Basic), then a ArgumentNullException will be thrown.

|

Remarks

The Assign method clears the ValueDataMemberCollection collection and copies all the elements from the specified ValueDataMemberCollection object.

See Also

ValueDataMemberCollection Class

ValueDataMemberCollection Members

DevExpress.XtraCharts Namespace