ProfileInfoCollection.SetReadOnly Metod

Definition

Gör innehållet i det skrivskyddade ProfileInfoCollection .

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

Kommentarer

Metoden SetReadOnly markerar som ProfileInfoCollection skrivskyddad så att ProfileInfo objekt inte kan läggas till i eller tas bort från samlingen. När du har anropat SetReadOnly metoden kan du inte ändra ProfileInfoCollection tillbaka till läsa/skriva.

Gäller för

Se även