Hunny Software Library Reference

MediaType.InsertParameterAt Method 

Inserts a parameter at the specified position.

[Visual Basic]
Public Sub InsertParameterAt( _
   ByVal index As Integer, _
   ByVal param As Parameter _
)
[C#]
public void InsertParameterAt(
   int index,
   Parameter param
);

Parameters

index
position in list to insert the Parameter object (0 <= index <= NumParameters)
param
Parameter object to insert

Remarks

Inserting at position 0 inserts the parameter at the beginning. Inserting at position NumParameters appends the parameter to the end.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeExceptionindex is out of range

See Also

MediaType Class | Hunny.Mime Namespace