PartitionKey Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.