Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






getNthHeader method

Returns a header associated with a MIME entity.

Note This method is new with Release 6.

Defined in

MIMEEntity

Syntax

public MIMEHeader getNthHeader(String headerName) 

throws NotesException
public MIMEHeader getNthHeader(String headerName, int instance) 

throws NotesException

Parameters

String headerName

The name of the header.

int instance

The header instance where 1 is the first header. Defaults to 1.

Usage

Multiple headers of the same name exist in the order they were last written.

Return value

MIMEHeader

The MIME header or null.

Language cross-reference

GetNthHeader method in LotusScript NotesMIMEEntity class

See examples

Examples: getNthHeader method
Related topics
Working with a MIME entity in Java classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009