RegistrationAttribute.Key.Close Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes a key after writing is complete.
public:
abstract void Close();
public:
abstract void Close();
abstract void Close();
public abstract void Close ();
abstract member Close : unit -> unit
Public MustOverride Sub Close ()
Remarks
You may use the C# using
syntax with registration keys, since they implement the IDisposable interface. You must always close keys when you are done with them.