Evidence::Locked Property

 

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

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public:
property bool Locked {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

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

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 );

SecurityPermission

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

.NET Framework
Available since 1.1
Return to top
Show: