Parameters
- type
- The type of the data item to return. This method will place the type into the DataItemEventArgs object that it sends to the ReadDataItem event handler.
Return Value
The content string that the event handler returned.
This method is deprecated.
This method raises a ReadDataItem event, passes it the given type, and returns the content string that the event handler returns. You can use this method as a simple way to test your ReadDataItem event handler.