SecurityKeyIdentifier.MakeReadOnly Method

Definition

Causes this instance to be read-only.

public:
 void MakeReadOnly();
public void MakeReadOnly ();
member this.MakeReadOnly : unit -> unit
Public Sub MakeReadOnly ()

Remarks

When the MakeReadOnly method is called, the IsReadOnly property is set to true and properties of this instance can no longer be set. For example, a key identifier clause cannot be added to this object.

Applies to