[This is preliminary documentation and is subject to change.]

Determine the number of elements transmitted by the communication operation associated with this object.

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.9.0.0 (0.9.0.0)

Syntax

C#
public Nullable<int> Count(
	Type type
)
Visual Basic (Declaration)
Public Function Count ( _
	type As Type _
) As Nullable(Of Integer)
Visual C++
public:
Nullable<int> Count(
	Type^ type
)

Parameters

type
Type: System..::.Type
The type of data that will be stored in the message.

Return Value

If the type of the data is a value type, returns the number of elements in the message. Otherwise, returns null, because the number of elements stored in the message won't be known until the message is received.

See Also