Share via


ManagementPackProperty.Key Property

Definition

Gets or sets a value that indicates whether or not this property is a key property of its class.

public:
 property bool Key { bool get(); void set(bool value); };
public bool Key { get; set; }
member this.Key : bool with get, set
Public Property Key As Boolean

Property Value

true if a key is set; otherwise, false.

Remarks

Cannot be true for DateTime properties.

Applies to