Gets a component of this field.

Namespace:  Mergecom.HL7
Assembly:  Mergecom.HL7 (in Mergecom.HL7.dll) Version: 4.2.0.0

Syntax

C#
public virtual HL7Field GetComponent(
	int index
)
Visual Basic (Declaration)
Public Overridable Function GetComponent ( _
	index As Integer _
) As HL7Field
Visual C++
public:
virtual HL7Field^ GetComponent(
	int index
)

Parameters

index
Type: System..::.Int32
The one based index of the component to return.

Return Value

An HL7Field object representing the requested component. If this field does not have components and the index is 1, the current instance is returned this.

See Also