DataItem.CopyTo Method

Creates a deep copy of current DataItem in the specified object.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function CopyTo ( _
    obj As DataItem _
) As DataItem
'Usage
Dim instance As DataItem
Dim obj As DataItem
Dim returnValue As DataItem

returnValue = instance.CopyTo(obj)
public DataItem CopyTo(
    DataItem obj
)
public:
DataItem^ CopyTo(
    DataItem^ obj
)
member CopyTo : 
        obj:DataItem -> DataItem 
public function CopyTo(
    obj : DataItem
) : DataItem

Parameters

Return Value

Type: Microsoft.AnalysisServices.DataItem
A reference to the copied object.