次の方法で共有


RegistrationAttribute.Key.Close Method

Closes a key after writing is complete.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)

Syntax

'宣言
Public MustOverride Sub Close
public abstract void 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.

.NET Framework Security

See Also

Reference

RegistrationAttribute.Key Class

Microsoft.VisualStudio.Shell Namespace

RegistrationAttribute.Key