Contains the attributes attached to a communicator.

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


public sealed class AttributeSet
Visual Basic (Declaration)
Public NotInheritable Class AttributeSet
Visual C++
public ref class AttributeSet sealed


Each communicator can contain key/value pairs with extra information about the communicator that can be queried from other languages and compilers. The keys in the attribute set are instances of the Attribute class, each of which will be associated with a specific type of value. The values associated with any attribute can be added, modified, queried, or removed for a particular communicator.

When a communicator is cloned, the attributes are copied to the new communicator. When creating an Attribute, decide whether not to copy the attribute (None), to copy only a reference to the attribute (Shallow), or make a clone of the attribute (Deep).

Inheritance Hierarchy


See Also