Condividi tramite


PartitionKey Constructors

Definition

Overloads

PartitionKey(Boolean)

Creates a new partition key value.

PartitionKey(Double)

Creates a new partition key value.

PartitionKey(String)

Creates a new partition key value.

PartitionKey(Boolean)

Creates a new partition key value.

public PartitionKey (bool partitionKeyValue);
new Azure.Cosmos.PartitionKey : bool -> Azure.Cosmos.PartitionKey
Public Sub New (partitionKeyValue As Boolean)

Parameters

partitionKeyValue
Boolean

The value to use as partition key.

Applies to

PartitionKey(Double)

Creates a new partition key value.

public PartitionKey (double partitionKeyValue);
new Azure.Cosmos.PartitionKey : double -> Azure.Cosmos.PartitionKey
Public Sub New (partitionKeyValue As Double)

Parameters

partitionKeyValue
Double

The value to use as partition key.

Applies to

PartitionKey(String)

Creates a new partition key value.

public PartitionKey (string partitionKeyValue);
new Azure.Cosmos.PartitionKey : string -> Azure.Cosmos.PartitionKey
Public Sub New (partitionKeyValue As String)

Parameters

partitionKeyValue
String

The value to use as partition key.

Applies to