Creates a new HeaderCard to accommodate key, val, and comment, and inserts the new card in the pos'th position in the HeaderCard list. If pos is out of the bounds of the list, the new HeaderCard will be added to the end of the 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 String, _ ByVal comment As String, _ ByVal pos As Integer _ ) |
C# |
---|
public virtual void InsertValue( string key, string val, string comment, int pos ) |
C++ |
---|
public: virtual void InsertValue( String key, String val, String comment, int pos ) |
J# |
---|
public virtual void InsertValue( string key, string val, string comment, int pos ) |
JScript |
---|
public virtual
function InsertValue( key : String, val : String, comment : String, pos : int ) |
Parameters
- key
- The key of the new HeaderCard
- val
- The value of the new HeaderCard
- comment
- The comment of the new HeaderCard
- pos
- The list position into which to insert the new HeaderCard