次の方法で共有


RegistrationAttribute.Key.Close Method

Definition

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.

Applies to