Udostępnij za pośrednictwem


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)

Source:
PartitionKey.cs

Creates a new partition key value.

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

Parameters

partitionKeyValue
Boolean

The value to use as partition key.

Applies to

PartitionKey(Double)

Source:
PartitionKey.cs

Creates a new partition key value.

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

Parameters

partitionKeyValue
Double

The value to use as partition key.

Applies to

PartitionKey(String)

Source:
PartitionKey.cs

Creates a new partition key value.

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

Parameters

partitionKeyValue
String

The value to use as partition key.

Applies to