![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IPartitioningStrategyGetPartitionKey Method |
Returns the key object that will be used by Hazelcast to specify the partition.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
SyntaxObject GetPartitionKey(
Object key
)
Function GetPartitionKey (
key As Object
) As Object
Object^ GetPartitionKey(
Object^ key
)
abstract GetPartitionKey :
key : Object -> Object
Parameters
- key
- Type: SystemObject
actual key object
Return Value
Type:
Objectpartition key object or null to fallback to default partition calculation
RemarksReturns the key object that will be used by Hazelcast to specify the partition.
See Also