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

Create a new attribute, which can be attached to MPI communicators.

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

Syntax

C#
public static Attribute Create<T>(
	AttributeDuplication duplication
)
Visual Basic (Declaration)
Public Shared Function Create(Of T) ( _
	duplication As AttributeDuplication _
) As Attribute
Visual C++
public:
generic<typename T>
static Attribute^ Create(
	AttributeDuplication duplication
)

Parameters

duplication
Type: MPI..::.AttributeDuplication
Describes how (or if) an attribute is copied when a communicator is cloned.

Type Parameters

T
The type of value that will be stored with the attribute.

Return Value

A new attribute whose value type is T. This attribute can be attached to any communicator.

See Also