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

Get the MPI datatype associated with the given type.

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

Syntax

C#
public static int GetDatatype(
	Type type
)
Visual Basic (Declaration)
Public Shared Function GetDatatype ( _
	type As Type _
) As Integer
Visual C++
public:
static int GetDatatype(
	Type^ type
)

Parameters

type
Type: System..::.Type

Return Value

MPI_DATATYPE_NULL if there is no corresponding MPI datatype for this type. Otherwise, returns the MPI datatype that can be used to transfer objects of this type without serialization.

See Also