Closes a key after writing is complete.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public MustOverride Sub Close
'使用
Dim instance As RegistrationAttribute..::.Key
instance.Close()
public abstract void Close()
public:
virtual void Close() abstract
public abstract function Close()
Remarks
Always either call Close or Dispose on the Key when you are finished with the key.
Permissions
- 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