Framework EDI Reference. Methods and Properties
mailMessage. As2Version

Sets or gets the AS2 version property.

Syntax:

 

Remarks:

This property accesses the field header value of the As2-Version header of the message.  Setting and getting this property is equivalent to:

Dim oSubjMsg As Fredi.mailMessage
:
' The following calls are equivalent when setting the AS2-Version Header.
'
oSubjMsg.As2Version = "1.0"
oSubjMsg.HeaderFieldValue("AS2-Version") = "1.0"


Dim sAs2Version As String
:
' The following calls are equivalent when getting the AS2-Version Header.
'
sAs2Version = oSubjMsg.As2Version
sAs2Version = oSubjMsg.HeaderFieldValue("AS2-Version")