DataView.RemoveAttachments

Prototypes

void RemoveAttachments()

Parameters

None

Remarks

This method removes all the attachments from the DataView.

The DataView class enables you to add attachments to a DataView. This enables you to associate additional information about a DataView with the DataView itself. The DataView does not use your attachments.

Example
x = rannor( 1:100 );
declare Histogram plot = Histogram.Create( "Example", x );

plot.AddAttachedDouble( "X Mean", x[:] );

x = rannor( 1:100 );
plot.GetDataObject().SetVarData( "X", x );
/* Mean is out of date */
plot.RemoveAttachments();
See Also

DataView.RemoveAttachment