IDistributedObjectGetPartitionKey Method Hazelcast .Net Client Class Library
Returns the key of partition this IDistributedObject is assigned to.

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

string GetPartitionKey()

Return Value

Type: String
the partition key.
Remarks

Returns the key of partition this IDistributedObject is assigned to. The returned value only has meaning for a non partitioned data-structure like an IAtomicLong. For a partitioned data-structure like an IMap the returned value will not be null, but otherwise undefined.
See Also

Reference