Evidence.Locked Property

Definition

Gets or sets a value indicating whether the evidence is locked.

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

Property Value

true if the evidence is locked; otherwise, false. The default is false.

Examples

The following code example shows the use of the Locked property. This example is part of a larger example provided for the Evidence class.

Console::WriteLine( "\nThe default value for the Locked property = {0}", myEvidence->Locked );
Console.WriteLine("\nThe default value for the Locked property = " + myEvidence.Locked.ToString());
Console.WriteLine((ControlChars.Lf & "The default value for the Locked property = " & myEvidence.Locked.ToString()))

Security

SecurityPermission
for the ability to set this property. Associated enumeration: ControlEvidence

Applies to