FormFix v6.0 for .NET - Updated
TestWriteDataItemEvent Method (FormModel)



Accusoft.FormFixSdk Namespace > FormModel Class : TestWriteDataItemEvent Method
The type of the data item. This method will place the type into the DataItemEventArgs object that it sends to the WriteDataItem event handler.
The content of the data item. This method will place the content into the DataItemEventArgs object that it sends to the WriteDataItem event handler.
This method is deprecated. Tests a WriteDataItem event.
Syntax
'Declaration
 
<ObsoleteAttribute("This method is deprecated. It is not required for testing a WriteDataItem event handler.")>
Public Sub TestWriteDataItemEvent( _
   ByVal type As String, _
   ByVal content As String _
) 
'Usage
 
Dim instance As FormModel
Dim type As String
Dim content As String
 
instance.TestWriteDataItemEvent(type, content)
[Obsolete("This method is deprecated. It is not required for testing a WriteDataItem event handler.")]
public void TestWriteDataItemEvent( 
   string type,
   string content
)
[Obsolete("This method is deprecated. It is not required for testing a WriteDataItem event handler.")]
public:
void TestWriteDataItemEvent( 
   String^ type,
   String^ content
) 

Parameters

type
The type of the data item. This method will place the type into the DataItemEventArgs object that it sends to the WriteDataItem event handler.
content
The content of the data item. This method will place the content into the DataItemEventArgs object that it sends to the WriteDataItem event handler.
Remarks

This method is deprecated.

This method raises a WriteDataItem event, and passes it the given type and content strings. You can use this method as a simple way to test your WriteDataItem event handler.
See Also

Reference

FormModel Class
FormModel Members
TestReadDataItemEvent Method
ConstructTestDataItems Method
VerifyTestDataItems Method

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