SegmentCount

Object Method - SegmentCount()

Parent Object - EasyHL7Message

Returns - Long


Name: SegmentCount(Optional ByVal strSegmentName = "")

Parameters: 1. strSegmentName (String - The name of the segment to retrieve from the object)

 

Returns: Long - The number of times strSegmentName occurs in the message OR if strSegmentName is blank, the total number of segments in the message.