Creates a new HeaderCard to accommodate key, val, and comment, and inserts the new card in front of the HeaderCard associated with key posKey. If there is no HeaderCard associated with posKey, the new card is added to the end of the HeaderCard list.


Namespace: nom.tam.fits
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)

Syntax

Visual Basic (Declaration)
Public Overridable Sub InsertValue( _ 
   ByVal key As String,  _ 
   ByVal val As Double,  _ 
   ByVal comment As String,  _ 
   ByVal posKey As String _ 
)
C#
public virtual void InsertValue(
   string key,
   double val,
   string comment,
   string posKey
)
C++
public:
 virtual void InsertValue(
   String key,
   double val,
   String comment,
   String posKey
)
J#
public virtual void InsertValue(
   string key,
   double val,
   string comment,
   string posKey
)
JScript
public virtual  function InsertValue(
   key : String,
   val : double,
   comment : String,
   posKey : String
)

Parameters

key
The key of the new HeaderCard
val
The value of the new HeaderCard
comment
The comment of the new HeaderCard
posKey
The key of the HeaderCard in front of which the new HeaderCard is to be inserted

See Also