DataView.GetAttachedString

Prototypes

String GetAttachedString( String sName )

Return Value

The return value is a reference to the attached string. If there is no attachment with the specified name, the return value is null.

Parameters

String sName
The name of the attachment.

Remarks

This method returns the attachment with the specified name. The attachment must have been added using the method AddAttachedString.

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 );
title = "Normal";
declare Histogram plot = Histogram.Create( title, x );

plot.AddAttachedString( "Title", title );

s = plot.GetAttachedString( "Title" );
print s;
See Also

DataView.AddAttachedString