Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Closes a key after writing is complete.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Syntax
'Dichiarazione
Public MustOverride Sub Close
'Utilizzo
Dim instance As RegistrationAttribute..::..Key
instance.Close()
public abstract void Close()
public:
virtual void Close() abstract
abstract Close : unit -> unit
public abstract function 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RegistrationAttribute.Key Class
RegistrationAttribute.Key Members