WorkItem.Insert Method

Inserts an object of the specified type at the specified position in the array of objects that the WorkItem object contains.


Namespace: Microsoft.Hpc.Excel
Assembly: Microsoft.Hpc.Excel (in Microsoft.Hpc.Excel.dll)

'Usage
Dim instance As WorkItem
Dim ordinal As Integer
Dim value As T

instance.Insert(ordinal, value)

public void Insert<T> (
	int ordinal,
	T value
)
J# supports the use of generic APIs, but not the declaration of new ones.
JScript does not support generic types or methods.

GenericParameters

T

The type of the object that you want to insert into the array.

Parameters

ordinal

The position at which you want to insert the object in the list of objects that the WorkItem object contains. This position is a zero-based index.

value

An object or value of the type that the type parameter specifies.

Use this method to add objects to the WorkItem object if you did not add objects for all of the macro parameters when you created the WorkItem object.

Platform Note: This method was introduced in Windows HPC Server 2008 R2 and is not supported in previous versions.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22
Show: