FormFix v6.0 for .NET - Updated
TestReadDataItemEvent Method (IdentificationProcessor)



Accusoft.FormFixSdk Namespace > IdentificationProcessor Class : TestReadDataItemEvent Method
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.
This method is deprecated. Tests a ReadDataItem event.
Syntax
'Declaration
 
<ObsoleteAttribute("This method is deprecated. It is not required for testing a ReadDataItem event handler.")>
Public Function TestReadDataItemEvent( _
   ByVal type As String _
) As String
'Usage
 
Dim instance As IdentificationProcessor
Dim type As String
Dim value As String
 
value = instance.TestReadDataItemEvent(type)
[Obsolete("This method is deprecated. It is not required for testing a ReadDataItem event handler.")]
public string TestReadDataItemEvent( 
   string type
)
[Obsolete("This method is deprecated. It is not required for testing a ReadDataItem event handler.")]
public:
String^ TestReadDataItemEvent( 
   String^ type
) 

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.
Remarks

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.
See Also

Reference

IdentificationProcessor Class
IdentificationProcessor Members
TestWriteDataItemEvent Method
ConstructTestDataItems Method
VerifyTestDataItems Method

Is this page helpful?
Yes No
Thanks for your feedback.