PosCommon.DeleteConfigurationProperty Method (POS for .NET v1.14 SDK Documentation)
3/2/2014
Deletes the specified property from the XML configuration file.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Protected Sub DeleteConfigurationProperty ( _
propertyName As String _
)
protected void DeleteConfigurationProperty (
string propertyName
)
protected:
void DeleteConfigurationProperty (
String^ propertyName
)
protected void DeleteConfigurationProperty (
String propertyName
)
protected function DeleteConfigurationProperty (
propertyName : String
)
Parameters
- propertyName
Contains the name of the property the Service Object wants to delete from the configuration XML file.
Remarks
The XML configuration file is stored at the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\POSfor.NET\Configuration
DeleteConfigurationProperty may throw general exceptions and a PosControlException with the IllegalErrorcode if the specified property name is not valid.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace