RegistrationAttribute.RegistrationContext.RemoveValue Method
Removes a value from a registration key.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Déclaration
Public MustOverride Sub RemoveValue ( _
keyname As String, _
valuename As String _
)
'Utilisation
Dim instance As RegistrationAttribute..::..RegistrationContext
Dim keyname As String
Dim valuename As String
instance.RemoveValue(keyname, valuename)
public abstract void RemoveValue(
string keyname,
string valuename
)
public:
virtual void RemoveValue(
String^ keyname,
String^ valuename
) abstract
abstract RemoveValue :
keyname:string *
valuename:string -> unit
public abstract function RemoveValue(
keyname : String,
valuename : String
)
Parameters
- keyname
Type: System.String
The name of the key that contains the value to be removed.
- valuename
Type: System.String
The name of the value to remove.
Remarks
This method is typically called from within the Unregister of a class derived from RegistrationAttribute
.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.RegistrationContext Class
RegistrationAttribute.RegistrationContext Members